[Dune] [#681] Unnerving Warnings using gmshreader with gcc-4.3.4
Dune
dune at dune-project.org
Fri Dec 4 16:17:34 CET 2009
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Martin Nolte (nolte)
Attached to Project - Dune
Summary - Unnerving Warnings using gmshreader with gcc-4.3.4
Task Type - Bug Report
Category - File
Status - New
Assigned To -
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - SVN
Due in Version - Undecided
Due Date - Undecided
Details - When using gmshreader with gcc-4.3.4, you get the following beautiful set of warnings:
gmshtest-alberta.cc:71: instantiated from here
.../../../../../dune/grid/io/file/gmshreader.hh:573: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:577: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:581: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:586: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:590: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:597: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:606: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:611: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:615: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:622: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:627: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:637: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:649: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:661: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:674: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:687: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:693: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:709: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:712: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:715: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:720: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:723: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:728: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:732: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:737: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:740: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:745: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:750: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:764: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:777: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:791: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:802: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:814: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:817: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
.../../../../../dune/grid/io/file/gmshreader.hh:746: warning: ‘physical_entity’ may be used uninitialized in this function
mv -f .deps/gmshtest_alu-gmshtest-alberta.Tpo .deps/gmshtest_alu-gmshtest-alberta.Po
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=681
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list