Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001040graphvizBuild/Installpublic2006-01-18 20:122011-04-28 04:03
ReporterMatt selsky 
Assigned Toellson 
PlatformOSSparc-Solaris-9OS Version
Summary0001040: -Wno-unused-parameter unavailable on gcc 2.95.3

I'm building graphviz 2.6 on Solaris 9 with gcc 2.95.3
$ ./configure --prefix=/opt/graphviz-2.6
$ make
make all-recursive
make[1]: Entering directory `/src/misc/graphviz-2.6/obj/solaris9'
Making all in libltdl
make[2]: Entering directory `/src/misc/graphviz-2.6/obj/solaris9/libltdl'
make all-am
make[3]: Entering directory `/src/misc/graphviz-2.6/obj/solaris9/libltdl'
make[3]: Leaving directory `/src/misc/graphviz-2.6/obj/solaris9/libltdl'
make[2]: Leaving directory `/src/misc/graphviz-2.6/obj/solaris9/libltdl'
Making all in lib
make[2]: Entering directory `/src/misc/graphviz-2.6/obj/solaris9/lib'
Making all in cdt
make[3]: Entering directory `/src/misc/graphviz-2.6/obj/solaris9/lib/cdt'
source='dtclose.c' object='dtclose.lo' libtool=yes \
DEPDIR=.deps depmode=gcc /bin/bash ../../config/depcomp \
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/opt/graphviz-2.6/include -I/opt/local/include -Wno-unused-parameter -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -c -o dtclose.lo dtclose.c
mkdir -p .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/opt/graphviz-2.6/include -I/opt/local/include -Wno-unused-parameter -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -c dtclose.c -Wp,-MD,.deps/dtclose.TPlo -DPIC
cc1: Invalid option `-Wno-unused-parameter'
make[3]: *** [dtclose.lo] Error 1
make[3]: Leaving directory `/src/misc/graphviz-2.6/obj/solaris9/lib/cdt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/src/misc/graphviz-2.6/obj/solaris9/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/misc/graphviz-2.6/obj/solaris9'
make: *** [all] Error 2

"-Wno-unused-parameter" is only available on gcc 3.3.x and above.
Additional Information

Apparently -Wno-unused-parameter is only required to work around a bug in gcc3 compilers.

I've adopted the fix currently used by Dillo to only use this option with gcc3
<CD>;content-type=text%2Fplain;cvsroot=dillo [^]

TagsNo tags attached.
VERSION     2.6
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user695

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker