Opened 16 years ago

Closed 16 years ago

Last modified 12 months ago

#7274 closed enhancement (wontfix)

Configure script options

Reported by: SF/kreeblah Owned by: SF/khalek
Priority: normal Component: Port: BeOS
Keywords: Cc:


As I understand it, the configure script is not really used
much yet, but I was wondering whether it would be very
difficult for the script (when it is used) to generate the
makefile to not use the -Wno-unused-parameter compilation flag
on BeOS (compiler doesn't support it) and to not use MAD (no
BeOS-compatible port of it available; the only output it
supports on the OS is the null output . . . kinda useless).

Ticket imported from: #744677. Ticket imported from: feature-requests/90.

Change History (7)

comment:1 by SF/khalek, 16 years ago

Owner: set to SF/khalek
Resolution: wontfix
Status: newclosed

comment:2 by SF/khalek, 16 years ago

-Wno-unused parameter isn't used by default anymore in the
old Makefile (Makefile)

The configure script can both autodetect mad and force
disable it.
If you are using the configure script however you should be
using ie ./configure && make -f

so I don't see anything in this tracker item that we don't
already have

comment:3 by fingolfin, 16 years ago

Owner: SF/khalek removed
Status: closednew

comment:4 by fingolfin, 16 years ago

I disagree. -Wno-unused-parameter should be enabled for GCC 3.x, along
with -W and -ansi. In fact, -W is supported fine on GCC 2.95, but on GCC
3.x it generates more warnings (in particular, for unused params), hence for
GCC 3.x I had to add the -Wno-unused-parameter. This is just a
workaround to allow GCC 2.95 to work, but not the desired behaviour.

We should check in the configure script whether
a) the used compiler is GCC
b) if it's GCC, if it's 3.x or 2.x

Various things in our Makefile system right now assume GCC, so I imagine
people will have a hard time to compile with non-GCC compilers; to
accomodate those, a) is useful. And b) is useful for the cases mentioned in
this FR, plus possibly other things.

comment:5 by SF/khalek, 16 years ago

configure script does more things now closing

comment:6 by SF/khalek, 16 years ago

Owner: set to SF/khalek
Status: newclosed

comment:7 by digitall, 12 months ago

Component: Port: BeOS
Note: See TracTickets for help on using tickets.