I compiled the Rose Compiler framework successfully.
However, I am having difficulty using the Rose compiler for C++ code due to g++ internal header file issues. I tried googling without luck on a solution.
I have a very simple C++ file foo.cc
:
#include <iostream>
int main()
{
return 0;
}
When I run the rose compiler tool:
rose_install/bin/astTraversalTest foo.cc
The errors I get are:
starting frontend
"/home/user/klall/tools/rose_install/include/g++_HEADERS/hdrs3/bits/c++config.h", line 1608: error:
expected a ";"
using namespace__debug__attribute__ ((strong));
Any idea why I am getting this problem? Is there a #define
I have to set or something else?
I don't have an issue with C header files like <\stdio.h>