Charles Wilson wrote:
2008-04-25 Charles Wilson ...
Ensure cwrapper compiles without warnings under -std=c99:
* libltdl/config/ltmain.m4sh (func_emit_wrapper_part1):
new function.
(func_emit_wrapper_part2): new function.
(func_emit_wrapper): delegate to new functions.
Now that configure doesn't generate libtool until late in the game (when
LT_OUTPUT is not used), the package CFLAGS determined during the rest of
configure are added to LTCFLAGS, and used to compile the cwrapper.
In one case, the project used -Wall -Werror -std=c99 (which turns on
Charles Wilson wrote:
2008-04-25 Charles Wilson ...
Ensure cwrapper compiles without warnings under -std=c99:
* libltdl/config/ltmain.m4sh (func_emit_wrapper_part1):
new function.
(func_emit_wrapper_part2): new function.
(func_emit_wrapper): delegate to new functions.