ect output on external symbol address cast as
integer used in conditional statement
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
--- Comment #2 from sh-list at ssc-studios dot com 2007-03-17 00:07 ---
I don't think this behavior is part of the C or C++ standard.
nor is __attribute__ (( weak ))
this behavior of gcc seems to be undocumented.
I don't see how usefull it is to have gcc assume pointers to fu
--- Comment #4 from sh-list at ssc-studios dot com 2007-03-17 17:31 ---
so in other words you're saying the solution to this is
"if you want it to work with GCC, make your code non-portable"
afaik "__attribute__ (( weak ))" is not part of the standard, it