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
|
2010-08-06 Dietmar Warning
|
||||||
* spicelib/parser/inp2q.c: add prototype for controlled_exit
|
* 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
|
* 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 "$enable_debug" = "no"; then
|
||||||
if test "x$GCC" = "xyes"; then
|
if test "x$GCC" = "xyes"; then
|
||||||
AC_MSG_WARN(Removing debugging option!)
|
AC_MSG_WARN(Removing debugging option!)
|
||||||
CFLAGS="$ext_CFLAGS -O2 -Wall -s"
|
CFLAGS="$ext_CFLAGS -O2 -Wall -Wno-unused-parameter -s"
|
||||||
else
|
else
|
||||||
AC_MSG_WARN(Removing debugging option!)
|
AC_MSG_WARN(Removing debugging option!)
|
||||||
CFLAGS="$ext_CFLAGS -O2"
|
CFLAGS="$ext_CFLAGS -O2"
|
||||||
|
|
@ -220,7 +220,7 @@ if test "$enable_debug" = "no"; then
|
||||||
else
|
else
|
||||||
AC_DEFINE(NGDEBUG,1,[Compile with debug info])
|
AC_DEFINE(NGDEBUG,1,[Compile with debug info])
|
||||||
if test "x$GCC" = "xyes"; then
|
if test "x$GCC" = "xyes"; then
|
||||||
CFLAGS="$ext_CFLAGS -g -O0 -Wall"
|
CFLAGS="$ext_CFLAGS -g -O0 -Wall -Wno-unused-parameter"
|
||||||
else
|
else
|
||||||
CFLAGS="$ext_CFLAGS -g"
|
CFLAGS="$ext_CFLAGS -g"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -219,8 +219,8 @@ ngmakeidx_SOURCES = makeidx.c
|
||||||
|
|
||||||
## create index for online help:
|
## create index for online help:
|
||||||
|
|
||||||
ngspice.idx: ngmakeidx
|
ngspice.idx: ngmakeidx$(EXEEXT)
|
||||||
./ngmakeidx $(srcdir)/ngspice.txt
|
./ngmakeidx$(EXEEXT) $(srcdir)/ngspice.txt
|
||||||
|
|
||||||
endif !WINDOWS
|
endif !WINDOWS
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue