https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85635
--- Comment #13 from Eric Botcazou ---
> Those "many" people don't build gnat. Very few people do according to the
> testsuite results page.
That's a clear misconception. The Ada compiler is regularly built and tested
on Linux, Darwin,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85635
--- Comment #12 from John Marino ---
yeah, my problem is that I was thinking cpp was complaining this whole time,
but it was actually the c compiler. Once I realized that, the misconception
cleared up. My fault, should've known better.
And I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85635
--- Comment #11 from Jakub Jelinek ---
Those many people do build gnat. I do it in all my bootstraps, many other
people working on gcc do.
And if you don't know how the C preprocessor works in this case, why don't you
just try that out?
#if
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85635
--- Comment #10 from John Marino ---
ah, i see you explained what technically happened in the comment above. I
missed that at first.
That's how the QNX line was visibly limited to the BSD platforms then. cpp
didn't consider it a macro. got
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85635
--- Comment #9 from John Marino ---
Those "many" people don't build gnat. Very few people do according to the
testsuite results page.
link.c code was:
#if defined (__WIN32)
(block 1)
#elif defined (__hpux__)
(block 2)
#elif defined
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85635
--- Comment #8 from Jakub Jelinek ---
No, for non-BSD the preprocessor sees:
#elif defined (__FreeBSD__) || defined (__DragonFly__) \
|| defined (__NetBSD__) || defined (__OpenBSD__)
and if not one of these 4, it skips all the tokens until
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85635
--- Comment #7 from John Marino ---
It's a condition ladder.
The windows and hpux conditions are first on the ladder. The cpp bug would
have been short-circuited on those platforms. For any platform that has the
condition test fall to BSD
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85635
Eric Botcazou changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85635
--- Comment #5 from Eric Botcazou ---
Author: ebotcazou
Date: Fri May 4 07:32:48 2018
New Revision: 259926
URL: https://gcc.gnu.org/viewcvs?rev=259926=gcc=rev
Log:
PR ada/85635
* link.c (BSD platforms): Add missing backslash.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85635
--- Comment #4 from Eric Botcazou ---
Author: ebotcazou
Date: Fri May 4 07:32:36 2018
New Revision: 259925
URL: https://gcc.gnu.org/viewcvs?rev=259925=gcc=rev
Log:
PR ada/85635
* link.c (BSD platforms): Add missing backslash.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85635
Eric Botcazou changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
11 matches
Mail list logo