• I ran this build:
    CXXFLAGS="-Wall -Wno-c++11-long-long -pedantic -std=c++98" ./configure
    make -j 1
    
    This commit fixes the few compiler warnings that showed up (all unimportant).
    
    There is no way to fix the issue that `long long` is not standard C++98,
    but it's an extension that has been supported by most compilers for a decade,
    so it's OK to ignore:
    http://stackoverflow.com/questions/4017621/how-to-do-portable-64-bit-arithmetic-without-compiler-warnings
    Christoph Deil authored
     
    Browse Dir »






  • Add GChatter argument to print() method.
    
    The print() method now takes an argument of type GChatter to control the chattiness of the output in a homogenous manner.
    Pass NORMAL chatter level in __str__ method.
    Add chatter argument to print() methods.
    Use GLog::chatter() method to control the chattiness of the log stream operator.
    Add chatter() methods and provide member access through const references.
    Add chatter() methods, provide member access through const references, and declare one liners as inline methods.
    
    The chatter() methods control the new m_chatter attribute that is used to control the chattiness of the object's print() methods.
    name() and version() methods return const references.
    logFileOpen() method now sets the chattiness from the applications's chatter parameter, and name() and version() methods now return a const reference.
    Jürgen Knödlseder authored
     
    Browse Dir »




  • The parse() method now either parses a file or a text string, depending on whether a valid file pointer or text string is provided. This option is now used in the GXml(const std::string& xml) constructor that will interpret the argument as either a text string or a file name. The interpretation is done on basis of the 5 first characters. If the string starts with "<?xml" the string is an XML document, otherwise it will be interpreted as a filename.
    Jürgen Knödlseder authored
     
    Browse Dir »