use -Wno-unused-parameter, and add missing $(EXEEXT) to Makefile.am
This commit is contained in:
parent
e3c7353eed
commit
a27a242216
|
|
@ -1,3 +1,10 @@
|
|||
2010-08-07 Robert Larice
|
||||
* configure.in :
|
||||
for gcc, don't report `unused parameter' Warnings
|
||||
* src/Makefile.am
|
||||
(bug tracker ID: 3019263)
|
||||
add missing $(EXEEXT) for cygwin, thank you marco atzeri
|
||||
|
||||
2010-08-06 Dietmar Warning
|
||||
* spicelib/parser/inp2q.c: add prototype for controlled_exit
|
||||
* frontend/com_measure2.c, inp.c, inpcom.c, vectors.c: fallback for not handled enumeration values in switch
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ dnl the above AC_PROG_CC may set CFLAGS to "-O2 -g"
|
|||
if test "$enable_debug" = "no"; then
|
||||
if test "x$GCC" = "xyes"; then
|
||||
AC_MSG_WARN(Removing debugging option!)
|
||||
CFLAGS="$ext_CFLAGS -O2 -Wall -s"
|
||||
CFLAGS="$ext_CFLAGS -O2 -Wall -Wno-unused-parameter -s"
|
||||
else
|
||||
AC_MSG_WARN(Removing debugging option!)
|
||||
CFLAGS="$ext_CFLAGS -O2"
|
||||
|
|
@ -220,7 +220,7 @@ if test "$enable_debug" = "no"; then
|
|||
else
|
||||
AC_DEFINE(NGDEBUG,1,[Compile with debug info])
|
||||
if test "x$GCC" = "xyes"; then
|
||||
CFLAGS="$ext_CFLAGS -g -O0 -Wall"
|
||||
CFLAGS="$ext_CFLAGS -g -O0 -Wall -Wno-unused-parameter"
|
||||
else
|
||||
CFLAGS="$ext_CFLAGS -g"
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -219,8 +219,8 @@ ngmakeidx_SOURCES = makeidx.c
|
|||
|
||||
## create index for online help:
|
||||
|
||||
ngspice.idx: ngmakeidx
|
||||
./ngmakeidx $(srcdir)/ngspice.txt
|
||||
ngspice.idx: ngmakeidx$(EXEEXT)
|
||||
./ngmakeidx$(EXEEXT) $(srcdir)/ngspice.txt
|
||||
|
||||
endif !WINDOWS
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue