mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
Shut up prototype warnings with recent GCC and -Wstrict-prototypes.
* libltdl/config/ltmain.m4sh (func_generate_dlsyms): Use recent GCC's diagnostic pragma to override a -Wstrict-prototypes setting for the symbol list code. * THANKS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
db160ae47c
commit
d1de1d4ada
@ -1,3 +1,11 @@
|
||||
2009-08-23 Lennart Poettering <lennart@poettering.net> (tiny change)
|
||||
|
||||
Shut up prototype warnings with recent GCC and -Wstrict-prototypes.
|
||||
* libltdl/config/ltmain.m4sh (func_generate_dlsyms): Use recent
|
||||
GCC's diagnostic pragma to override a -Wstrict-prototypes
|
||||
setting for the symbol list code.
|
||||
* THANKS: Update.
|
||||
|
||||
2009-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
Remove __oline__ from macros, for less spurious configure diffs.
|
||||
|
1
THANKS
1
THANKS
@ -110,6 +110,7 @@
|
||||
John R. Cary cary@txcorp.com
|
||||
John Wolfe jlw@sco.com
|
||||
Joseph Beckenbach III jrb3@best.com
|
||||
Lennart Poettering lennart@poettering.net
|
||||
Karl Berry karl@freefriends.org
|
||||
Kenneth Albanowski kjahds@kjahds.com
|
||||
Kevin Ryde user42@zip.com.au
|
||||
|
@ -1946,6 +1946,10 @@ func_generate_dlsyms ()
|
||||
extern \"C\" {
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
|
||||
#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
|
||||
#endif
|
||||
|
||||
/* External symbol declarations for the compiler. */\
|
||||
"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user