| Topic: |
DEVELOP > c-Plus-Plus |
| User: |
"Chris Forone" |
| Date: |
21 Dec 2007 03:56:32 AM |
| Object: |
OT: gcc version 3.4.5 (mingw special)/win32 warning |
hello group,
with compiler-switch -Os/-O2 i get the warning:
stl_list.h:435: warning: '__p' might be used uninitialized in this function
if i fall back to -O1/-O0, the warning disappears. some ideas about?
thx & hand, chris
.
|
|
| User: "Rolf Magnus" |
|
| Title: Re: OT: gcc version 3.4.5 (mingw special)/win32 warning |
21 Dec 2007 07:12:28 AM |
|
|
Chris Forone wrote:
hello group,
with compiler-switch -Os/-O2 i get the warning:
stl_list.h:435: warning: '__p' might be used uninitialized in this
function
if i fall back to -O1/-O0, the warning disappears. some ideas about?
Specific tools are not discussed in this newsgroup. Your question thus is
off-topic here. A better place for it would be gnu.g++.help.
Having that said: That warning seems to indicate some missing initialization
in the implementation of std::list. The reason that you see it only with
certain optimization options is because the compiler does a deeper code
flow analysis on these optimization levels, so it simply fails to notice it
on lower optimization settings.
.
|
|
|
|

|
Related Articles |
|
|