[Bug c++/36814] G++ won't warn about an uninitialized value

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2008-08-18 18:56 --- possible_bug.cc:1: error: `cMyClass' has not been declared possible_bug.cc: In function `bool Init()': possible_bug.cc:5: error: `some_function' was not declared in this scope possible_bug.cc:5: warning: unused variable

[Bug c++/36814] G++ won't warn about an uninitialized value

2008-08-18 Thread jellegeerts at gmail dot com
--- Comment #4 from jellegeerts at gmail dot com 2008-08-18 18:16 --- Please see the attachments I created for more information. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36814

[Bug c++/36814] G++ won't warn about an uninitialized value

2008-08-18 Thread jellegeerts at gmail dot com
--- Comment #3 from jellegeerts at gmail dot com 2008-08-18 18:15 --- Created an attachment (id=16087) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16087&action=view) the `.ii' file that G++ created -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36814

[Bug c++/36814] G++ won't warn about an uninitialized value

2008-08-18 Thread jellegeerts at gmail dot com
--- Comment #2 from jellegeerts at gmail dot com 2008-08-18 18:14 --- Created an attachment (id=16086) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16086&action=view) output of G++ with the `-v -save-temps' flags -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36814

[Bug c++/36814] G++ won't warn about an uninitialized value

2008-08-18 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2008-08-18 17:35 --- We need a preprocessed self-contained, preferably small, testcase. Otherwise we cannot reproduce the bug ourselves. See http://gcc.gnu.org/bugs.html Thanks. -- manu at gcc dot gnu dot org changed: What