[Firm] Probleme mit cparser
Christoph Mallon
mallon at cs.uni-saarland.de
Mon Feb 2 11:06:21 CET 2015
Am 02.02.15 11:02, schrieb Moritz Kroll:
> zu Problem 3 noch eine Verständnisfrage:
> Warum ist das hier nicht erlaubt (MS- bzw. C++-Modus, auch bei MSVC nicht):
>
> typedef struct {
> int dwMajorVersion;
> int dwMinorVersion;
> } HTTP_VERSION_INFO;
>
> typedef struct {
> int dwMajorVersion;
> int dwMinorVersion;
> } HTTP_VERSION_INFO;
>
> Gleicher als Copy&Paste geht nicht.
Zwei struct-Definitionen (also "struct { [...] }", auch anonyme wie
diese hier) sind immer verschiedene Typen.
Gruß
Christoph
More information about the Firm
mailing list