Hello dear rescuers,
I’m using ROOT 5.34 and trying to load a C++ function with PyUranie but it seems that the C++ interpreter fails to load the XML Parser header.
When executing : .L tinyxml2.h
I get the following errors
Error: Symbol constchar is not defined in current scope tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: Symbol int is not defined in current scope tinyxml2.h:619:
Error: Symbol curLineNumPtr is not defined in current scope tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: Illegal pointer operation (tovalue) tinyxml2.h:619:
Error: Symbol curLineNumPtr is not defined in current scope tinyxml2.h:619:
Error: Illegal pointer operation (tovalue) tinyxml2.h:619:
Error: Symbol curLineNumPtr is not defined in current scope tinyxml2.h:619:
Error: Illegal pointer operation (tovalue) tinyxml2.h:619:
Error: Symbol ;} is not defined in current scope tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: Symbol ;returnp;}staticchar is not defined in current scope tinyxml2.h:619:
Error: Symbol char is not defined in current scope tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: Symbol int is not defined in current scope tinyxml2.h:619:
Error: Symbol curLineNumPtr is not defined in current scope tinyxml2.h:619:
Error: Symbol char is not defined in current scope tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: Symbol int is not defined in current scope tinyxml2.h:619:
Error: Symbol curLineNumPtr is not defined in current scope tinyxml2.h:619:
Error: Symbol int is not defined in current scope tinyxml2.h:619:
Error: Symbol curLineNumPtr is not defined in current scope tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: Symbol curLineNumPtr is not defined in current scope tinyxml2.h:619:
Error: Symbol charp is not defined in current scope tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: G__getvariable: expression tinyxml2.h:619:
Error: Symbol ch is not defined in current scope tinyxml2.h:619:
Error: Symbol ch is not defined in current scope tinyxml2.h:619:
Error: Symbol {returntrue;}returnch is not defined in current scope tinyxml2.h:619:
Error: Symbol ch is not defined in current scope tinyxml2.h:619:
Error: Symbol ch is not defined in current scope tinyxml2.h:619:
Error: G__getvariable: expression tinyxml2.h:619:
Error: Symbol ch is not defined in current scope tinyxml2.h:619:
Error: Symbol ch is not defined in current scope tinyxml2.h:619:
Error: Symbol ch is not defined in current scope tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: Symbol constchar is not defined in current scope tinyxml2.h:619:
Error: Symbol q is not defined in current scope tinyxml2.h:619:
Warning: Automatic variable intnChar is allocated tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: Symbol q is not defined in current scope tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: Symbol q is not defined in current scope tinyxml2.h:619:
Error: Symbol nChar is not defined in current scope tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: Symbol q is not defined in current scope tinyxml2.h:619:
Error: Symbol nChar is not defined in current scope tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: unexpected character in expression 0;}inlinestaticboolIsUTF8Continuation(charp tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Syntax Error: !=0;}staticconstchar tinyxml2.h:619:
Error: Symbol constchar is not defined in current scope tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: Symbol bool is not defined in current scope tinyxml2.h:619:
Error: Symbol hasBOM is not defined in current scope tinyxml2.h:619:
Error: Symbol constchar is not defined in current scope tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: Symbol bool is not defined in current scope tinyxml2.h:619:
Error: Symbol hasBOM is not defined in current scope tinyxml2.h:619:
Error: Symbol bool is not defined in current scope tinyxml2.h:619:
Error: Symbol hasBOM is not defined in current scope tinyxml2.h:619:
Error: Symbol ;staticconstchar is not defined in current scope tinyxml2.h:619:
Error: Symbol constchar is not defined in current scope tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: Symbol char is not defined in current scope tinyxml2.h:619:
Error: Symbol value is not defined in current scope tinyxml2.h:619:
Error: Symbol int is not defined in current scope tinyxml2.h:619:
Error: Symbol length is not defined in current scope tinyxml2.h:619:
Error: Symbol constchar is not defined in current scope tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: Symbol char is not defined in current scope tinyxml2.h:619:
Error: Symbol value is not defined in current scope tinyxml2.h:619:
Error: Symbol int is not defined in current scope tinyxml2.h:619:
Error: Symbol length is not defined in current scope tinyxml2.h:619:
Error: Symbol int is not defined in current scope tinyxml2.h:619:
Error: Symbol length is not defined in current scope tinyxml2.h:619:
Error: Symbol unsignedlonginput is not defined in current scope tinyxml2.h:619:
Error: Symbol char is not defined in current scope tinyxml2.h:619:
Error: Symbol output is not defined in current scope tinyxml2.h:619:
Error: Symbol int is not defined in current scope tinyxml2.h:619:
Error: Symbol length is not defined in current scope tinyxml2.h:619:
Error: Symbol intv is not defined in current scope tinyxml2.h:619:
Error: Symbol char is not defined in current scope tinyxml2.h:619:
Error: Symbol buffer is not defined in current scope tinyxml2.h:619:
Error: Symbol intbufferSize is not defined in current scope tinyxml2.h:619:
Error: Symbol unsignedv is not defined in current scope tinyxml2.h:619:
Error: Symbol char is not defined in current scope tinyxml2.h:619:
Error: Symbol buffer is not defined in current scope tinyxml2.h:619:
Error: Symbol intbufferSize is not defined in current scope tinyxml2.h:619:
Error: Symbol boolv is not defined in current scope tinyxml2.h:619:
Error: Symbol char is not defined in current scope tinyxml2.h:619:
Error: Symbol buffer is not defined in current scope tinyxml2.h:619:
Error: Symbol intbufferSize is not defined in current scope tinyxml2.h:619:
Error: Symbol floatv is not defined in current scope tinyxml2.h:619:
Error: Symbol char is not defined in current scope tinyxml2.h:619:
Error: Symbol buffer is not defined in current scope tinyxml2.h:619:
Error: Symbol intbufferSize is not defined in current scope tinyxml2.h:619:
Error: Symbol doublev is not defined in current scope tinyxml2.h:619:
Error: Symbol char is not defined in current scope tinyxml2.h:619:
Error: Symbol buffer is not defined in current scope tinyxml2.h:619:
Error: Symbol intbufferSize is not defined in current scope tinyxml2.h:619:
Error: Symbol int64_tv is not defined in current scope tinyxml2.h:619:
Error: Symbol char is not defined in current scope tinyxml2.h:619:
Error: Symbol buffer is not defined in current scope tinyxml2.h:619:
Error: Symbol intbufferSize is not defined in current scope tinyxml2.h:619:
Error: Symbol constchar is not defined in current scope tinyxml2.h:619:
Error: Symbol str is not defined in current scope tinyxml2.h:619:
Error: Symbol int is not defined in current scope tinyxml2.h:619:
Error: Symbol value is not defined in current scope tinyxml2.h:619:
Error: Symbol constchar is not defined in current scope tinyxml2.h:619:
Error: Symbol str is not defined in current scope tinyxml2.h:619:
Error: Symbol unsigned is not defined in current scope tinyxml2.h:619:
Error: Symbol value is not defined in current scope tinyxml2.h:619:
Error: Symbol constchar is not defined in current scope tinyxml2.h:619:
Error: Symbol str is not defined in current scope tinyxml2.h:619:
Error: Symbol bool is not defined in current scope tinyxml2.h:619:
Error: Symbol value is not defined in current scope tinyxml2.h:619:
Error: Symbol constchar is not defined in current scope tinyxml2.h:619:
Error: Symbol str is not defined in current scope tinyxml2.h:619:
Error: Symbol float is not defined in current scope tinyxml2.h:619:
Error: Symbol value is not defined in current scope tinyxml2.h:619:
Error: Symbol constchar is not defined in current scope tinyxml2.h:619:
Error: Symbol str is not defined in current scope tinyxml2.h:619:
Error: Symbol double is not defined in current scope tinyxml2.h:619:
Error: Symbol value is not defined in current scope tinyxml2.h:619:
Error: Symbol constchar is not defined in current scope tinyxml2.h:619:
Error: Symbol str is not defined in current scope tinyxml2.h:619:
Error: Symbol int64_t is not defined in current scope tinyxml2.h:619:
Error: Symbol value is not defined in current scope tinyxml2.h:619:
Error: Symbol constchar is not defined in current scope tinyxml2.h:619:
Error: Symbol writeTrue is not defined in current scope tinyxml2.h:619:
Error: Symbol constchar is not defined in current scope tinyxml2.h:619:
Error: Symbol writeFalse is not defined in current scope tinyxml2.h:619:
Error: Symbol ;private:staticconstchar is not defined in current scope tinyxml2.h:619:
Error: Symbol writeBoolTrue;staticconstchar is not defined in current scope tinyxml2.h:619:
Error: Symbol writeBoolFalse;} is not defined in current scope tinyxml2.h:619:
Error: Symbol constchar is not defined in current scope tinyxml2.h:619:
Error: Symbol p is not defined in current scope tinyxml2.h:619:
Error: Symbol int is not defined in current scope tinyxml2.h:619:
Error: Symbol curLineNumPtr is not defined in current scope tinyxml2.h:619:
Error: Symbol int is not defined in current scope tinyxml2.h:619:
Error: Symbol curLineNumPtr is not defined in current scope tinyxml2.h:619:
Error: improper lvalue tinyxml2.h:619:
*** Interpreter error recovered ***
It seems that when I delete the macro at the class declaration (line 530), it solves the problem which then reappears at the next class declaration with the same macro. I then keep deleting this macro each time which seems to solve the problem.
If I directly replace the macro by its value in my configuration : __attribute__((visibility("default")))
, it causes the same problem.
Is there a missing feature in the interpreter ?
Thanks for any help or answer.
tinyxml2.h (66.2 KB)