Re: types, variable names and fields
- From: "Joachim Schmitz" <nospam.jojo@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 26 Jun 2008 16:52:06 +0200
SRoubtsov@xxxxxxxxx wrote:
Dear all,typedefs and variable identifiers (and struct/union tags) life in different
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
name spaces, so they can coexist if they have the same name.
Bye, Jojo
.
- Follow-Ups:
- Re: types, variable names and fields
- From: Harald van Dijk
- Re: types, variable names and fields
- References:
- types, variable names and fields
- From: SRoubtsov
- types, variable names and fields
- Prev by Date: Re: Representing a Sequence of Shorts in Bits
- Next by Date: Re: single if vs if else
- Previous by thread: types, variable names and fields
- Next by thread: Re: types, variable names and fields
- Index(es):