U
utab
Dear all,
I was looking at a simple code on an exercise question. In the code,
there is a conditional inclusion dependent on __GNUC__
#include <algorithm>
#include <iomanip>
#ifndef __GNUC__
#include <ios>
#endif
How can I get system specific macro names, like __GNUC__, for the
system I am working on. I do not need this but I was curious about it,
and googled for it but I have always found things related to
conditional compilation. If I am not mistaken, these are the names of
macros defined, correct me if I am wrong.
I use Debian Etch and gcc 4.1.12. Is there a way to get them directly
from command like, maybe this is off-topic :S
Regards, Umut
I was looking at a simple code on an exercise question. In the code,
there is a conditional inclusion dependent on __GNUC__
#include <algorithm>
#include <iomanip>
#ifndef __GNUC__
#include <ios>
#endif
How can I get system specific macro names, like __GNUC__, for the
system I am working on. I do not need this but I was curious about it,
and googled for it but I have always found things related to
conditional compilation. If I am not mistaken, these are the names of
macros defined, correct me if I am wrong.
I use Debian Etch and gcc 4.1.12. Is there a way to get them directly
from command like, maybe this is off-topic :S
Regards, Umut