documentation of /Ze option is incomplete

Started by Romashka, May 04, 2009, 11:51:37 AM

Previous topic - Next topic

Romashka

Help page '/Ze option (POCC)' does not mention that redefinition of typedef'ed type is allowed with this option.
The following code produces error #2121: Redeclaration of 'node' when compiled without /Ze:
typedef struct node node;

typedef struct node {
    node *prev;
    node *next;
    void *value;
} node;


Yes, I know that I can just use
typedef struct node {
    struct node *prev;
    struct node *next;
    void *value;
} node;

but this request is about documentation, not behaviour.

Pelle

OK, thanks, I will update the help file.
/Pelle