|
From: | Jan Nieuwenhuizen |
Subject: | Re: [ANN] nyacc 0.82.3 is released |
Date: | Sat, 11 Nov 2017 20:59:16 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Jan Nieuwenhuizen writes: > This works with 0.80.4. To be clear: only _one_ of the #if clauses should be present, of course. Just testing here that none work. > #define USE_FOO 1 > > #ifndef USE_FOO > > #else /* USE_FOO */ > > typedef int foo; > > #endif /* USE_FOO */ > > #ifdef USE_FOO > typedef int foo; > #endif > > #if defined (USE_FOO) > typedef int foo; > #endif > > int > main () > { > foo i; > return 0; > } -- Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com
[Prev in Thread] | Current Thread | [Next in Thread] |