This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Redefinition of typedefs, and ##
- To: <gcc at gcc dot gnu dot org>
- Subject: Redefinition of typedefs, and ##
- From: "Joseph A. Latone" <jlatone at brience dot com>
- Date: Thu, 22 Mar 2001 16:08:51 -0800
Sorry to post such a trivial question,
but does anyone know which compiler options I need
to gcc the following C code (-traditional fixes the
forward definition problem, but breaks the ##)
typedef struct _foo FOO;
typedef struct _foo {
int i;
} FOO;
# define __intN_t(N, MODE) \
typedef int int##N##_t __attribute__ ((__mode__ (MODE)))
__intN_t (8, __QI__);
Thanks, Joe