[ scummvm-Bugs-3304475 ] Compiler warning in commandLine.cpp

SourceForge.net noreply at sourceforge.net
Thu May 19 10:48:20 CEST 2011


Bugs item #3304475, was opened at 2011-05-19 09:48
Message generated for change (Tracker Item Submitted) made by ezekiel000
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3304475&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compiler error
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: David Rogers (ezekiel000)
Assigned to: Nobody/Anonymous (nobody)
Summary: Compiler warning in commandLine.cpp

Initial Comment:
If the --enable-release configure option is set then this warning appears when processing commandLine.cpp:
    C++      base/commandLine.o
base/commandLine.cpp: In function Common::String Base::parseCommandLine(Common::StringMap&, int, const char* const*):
base/commandLine.cpp:368:4: warning: ignoring return value of long int strtol(const char*, char**, int), declared with attribute warn_unused_result
base/commandLine.cpp:380:4: warning: ignoring return value of long int strtol(const char*, char**, int), declared with attribute warn_unused_result
base/commandLine.cpp:392:4: warning: ignoring return value of long int strtol(const char*, char**, int), declared with attribute warn_unused_result
base/commandLine.cpp:412:4: warning: ignoring return value of long int strtol(const char*, char**, int), declared with attribute warn_unused_result
base/commandLine.cpp:415:4: warning: ignoring return value of long int strtol(const char*, char**, int), declared with attribute warn_unused_result
base/commandLine.cpp:418:4: warning: ignoring return value of long int strtol(const char*, char**, int), declared with attribute warn_unused_result
base/commandLine.cpp:427:4: warning: ignoring return value of long int strtol(const char*, char**, int), declared with attribute warn_unused_result
base/commandLine.cpp:489:4: warning: ignoring return value of long int strtol(const char*, char**, int), declared with attribute warn_unused_result
base/commandLine.cpp:514:4: warning: ignoring return value of long int strtol(const char*, char**, int), declared with attribute warn_unused_result
base/commandLine.cpp:517:4: warning: ignoring return value of long int strtol(const char*, char**, int), declared with attribute warn_unused_result

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3304475&group_id=37116




More information about the Scummvm-tracker mailing list