typedef v macro
Hello ng,
I hope this message finds you all well. It's been a while since I've
had any real time to devote to programming and usenet, and while I'll
hope to stay busy as a handyman through the winter, I'll take it as the
silver lining that I can pursue avocation and hobby otherwise.
Keith posted this source in comp.std.c:
$ gcc -Wall -Wextra e2.c -o out
$ ./out
float_t is not a macro
$ cat e2.c
#include <math.h>
#include <stdio.h>
int main(void)
{
#ifdef float_t
puts("float_t is a macro");
#else
puts("float_t is not a macro");
#endif
return 0;
}
// gcc -Wall -Wextra e2.c -o out
$
1) I'm looking for general comments on the above. including whether you
get different output.
2) Can a conforming implementation render the other possibility?
Thanks for your comment,
and cheers,
--
Uno
.
Relevant Pages
- Re: Charles P. Steinmetz dead posting in RRAP
... Took you long enough to figure it out, Markie. ... Had I used the nym "John Q. Smith" you would ... Usenet, after all. ... you could get on the air and talk to people in real time. ... (rec.radio.amateur.policy) - Re: Anyone listen to Howard Today on Sirius?
... I know you don't have the home dock, ... How easy is it to store programming? ... i believe you can record when listening in real time. ... (rec.music.phish) - Re: Nikon D5000 - how to make the darn thing STAY on center focused?
... but didn't reach you before Wednesday evening Zulu Time. ... In case of email, it's "best effort", in case of Usenet, "flood ... It's not real time at all. ... satellite internet connection is worth it just so you get my ... (rec.photo.digital) - Re: How to make C look like C++
... just like in real life. ... That's more or less a definition of Usenet. ... robust programming practice!), but it's not okay for real code. ... > have some professional C programming experience to get a professional C ... (alt.comp.lang.learn.c-cpp) - Re: Some information for the one who decided to learn C++, and now wants to learn at least a bit of
... found (books, tutorials, etc) said that not only is it not necessary ... but these sorts of claims are often made by those ... yes, but I have been doing> 10 years of usenet posting, and I have heard all ... much one of those "C is arcane", "the only true way to do programming is ... (comp.lang.c) |
|