|
From: | Andreas Schwab |
Subject: | bug#14830: [PATCH] * configure.ac (HAVE_W32): Avoid nested functions |
Date: | Tue, 09 Jul 2013 08:56:13 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Peter Rosin <peda@lysator.liu.se> writes: > My fixed version with AC_LANG_SOURCE will not emit the main() function > and thus avoids nested functions and instead generates this source (again > with enhanced whitespace): > > #include <windows.h> > #include <usp10.h> > > void > test(PIMAGE_NT_HEADERS pHeader) > { > PIMAGE_SECTION_HEADER pSection = IMAGE_FIRST_SECTION(pHeader); > } You should instead remove the function. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
[Prev in Thread] | Current Thread | [Next in Thread] |