This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CODECOMPOSER:使用 fstream 时出错

Guru**** 2553450 points
Other Parts Discussed in Thread: CCSTUDIO

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/989277/codecomposer-error-using-fstream

器件型号:CODECOMPOSER
Thread 中讨论的其他器件:CCStudio

您好!

我有错误:

CCStudio_v9.0.1/ccs/tools/compiler/ti-cgt-C6000-c8.3.2/include/libcxx/fstream "、第486行:错误#136:类"std:_2:::ios_base"没有成员"__c6xabi_trunc"

同时编译此类代码

#include
#include
#include

标准::fstream   m_WriteFile;
m_WriteFile.open ("conximity.txt"、std:::iOS:::应用);

有什么想法吗?

此致、

David

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    对于发生这种情况时正在构建的源文件...

    [引用 userid="347975" URL"~/support/tools/ccs/f/code-composer-studio-forum/989277/codecomposer-error-using-fstream ]CCSTUDIO_v9.0.1/ccs/tools/compiler/ti-cgt-C6000-8.3.2/include/libcxx/fstream "、第486行:错误#136:类"std:__2:::::ios_base"没有成员"__c6xabi_trabi_c"

    如果您提交两件事、我将不胜感激。  第一、 请按照文章 How to Submit a Compiler Test Case 中的说明 创建预处理文件、但不要仅提交该文件。  第二、第二次构建源文件、但添加选项 -gen_preprocessor_listing。  此选项会创建预处理列表文件。  它与源具有相同的名称、文件扩展名更改为.RL。  请将这两个文件放入一个 zip 文件中、然后将其附加到您的下一篇文章中。  不要忘记显示所有构建选项、正如编译器看到的那样。

    谢谢、此致、

    乔治