Dirk Hoffmann <[EMAIL PROTECTED]> writes:

> The following does what you want: 
>       cpp -dM /dev/null

Not at all:

$ cpp -dM /dev/null | grep GNU
                                     ### No output!

$ g++ -dM -E - < /dev/null | grep GNU
#define __GNUC_PATCHLEVEL__ 3
#define __GNUC__ 3
#define __GNUC_MINOR__ 3

On a Linux system (and most other systems I know), cpp and gcc/c++
come from completely different packages and have nothing to do with
each other.

The days when compilers used a separate preprocessor are long gone.
All modern compilers use *integrated* preprocessor.

> If you absolutely need to go through g++

If Ulrich wants to know what g++ defines, he *should* use g++.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
_______________________________________________
Help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to