I compiled the last version of tinyparser in unix MP-RAS an I get the folowing warning:
"Inline function of 104 tree nodes excedds size treshold of 100 tree node of compiler intermediate code for expansion , use -Hinlsize=nnn to change"
for the folowing line
// Get a character, while interpreting entities.
// The length can be from 0 to 4 bytes.
inline static const char* GetChar( const char* p, char* _value, int* length, TiXmlEncoding encoding )
--------------------------------------
I add -Hinlsize=200 to compile, and the warning dissapear, when I try to parse a small document I get a coredump
any suggestion?
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Its not a "real" solution, but what happens if you remove the "inline"? I'm guessing that the "104 tree nodes" refers to the C++ recursive descent parser not being able to handle putting as much code (well, 30 lines or so) as GetChar() has inline?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I compiled the last version of tinyparser in unix MP-RAS an I get the folowing warning:
"Inline function of 104 tree nodes excedds size treshold of 100 tree node of compiler intermediate code for expansion , use -Hinlsize=nnn to change"
for the folowing line
// Get a character, while interpreting entities.
// The length can be from 0 to 4 bytes.
inline static const char* GetChar( const char* p, char* _value, int* length, TiXmlEncoding encoding )
--------------------------------------
I add -Hinlsize=200 to compile, and the warning dissapear, when I try to parse a small document I get a coredump
any suggestion?
thanks
Its not a "real" solution, but what happens if you remove the "inline"? I'm guessing that the "104 tree nodes" refers to the C++ recursive descent parser not being able to handle putting as much code (well, 30 lines or so) as GetChar() has inline?