http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47902
Daniel Richard G. changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47902
Andreas Schwab changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47902
--- Comment #2 from Daniel Richard G. 2011-02-26
09:18:13 UTC ---
>From config.log:
configure:5203: checking for pid_t
configure:5203: gcc -c -g conftest.c >&5
configure:5203: $? = 0
configure:5203: gcc -c -g conftest.c >&5
conftest.c: In func
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47902
--- Comment #3 from Daniel Richard G. 2011-02-28
20:01:51 UTC ---
I played around with this a bit, and found something rather amusing:
sizeof(pid_t) . compiles just fine
sizeof((pid_t)) ... parse error before `)'
The extra parens do
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47902
--- Comment #4 from Daniel Richard G. 2011-02-28
21:59:28 UTC ---
Okay, did some more digging.
So I see that the ac_fn_c_check_type function actually tries a test compilation
first with sizeof(foo_t), and then sizeof((foo_t)), and the test succe