Menu

tiny parser in unix MP-Ras

Anonymous
2004-09-03
2004-09-04
  • Anonymous

    Anonymous - 2004-09-03

    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

     
    • Ellers

      Ellers - 2004-09-04

      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?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.