types, variable names and fields
- From: SRoubtsov@xxxxxxxxx
- Date: Thu, 26 Jun 2008 06:44:35 -0700 (PDT)
Dear all,
Do you know whether ANSI C (or some other dialects) support the
following:
* a variable name coincides with a type name,
* a structure/union field name coincides with a type name
in the same file (.c + all relevant .h's)?
e.g.
typedef int m;
typedef struct a {
int i;
char m;
} b;
char *m
.
- Follow-Ups:
- Re: types, variable names and fields
- From: Richard Bos
- Re: types, variable names and fields
- From: Joachim Schmitz
- Re: types, variable names and fields
- Prev by Date: Re: Macro to cause build failure if parameter not defined?
- Next by Date: Re: how to release memory?
- Previous by thread: how to release memory?
- Next by thread: Re: types, variable names and fields
- Index(es):