Path: csiph.com!news.mixmin.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c++ Subject: Re: typedef structures broken Date: Sat, 22 Jul 2023 03:45:06 -0700 Organization: None to speak of Lines: 21 Message-ID: <87wmysmdhp.fsf@nosuchdomain.example.com> References: <222d1ba1-131d-4d6a-89f6-ddbd2082db01n@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: dont-email.me; posting-host="bdab44af2cb9f73f4bd721fa6db5fe3e"; logging-data="3978180"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18XwGompFvusdsXuDQIx/WA" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:21kdqdBLez3fiBtzIocdmIYuHI8= sha1:6ARh0jYIjOs8+qlF4E9jwABoJJ0= Xref: csiph.com comp.lang.c++:91181 Malcolm McLean writes: > Windows Visual C++ is now rejecting typedefed structures without tags. > > e.g the following code > > typedef struct > { > double x; > double y; > } Point; > > clang still accepts it. > > Anyone more information on this? What's the error message? -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Will write code for food. void Void(void) { Void(); } /* The recursive call of the void */