#7274 closed feature request (wontfix)
Configure script options
Reported by: | SF/kreeblah | Owned by: | SF/khalek |
---|---|---|---|
Priority: | normal | Component: | Port: BeOS |
Version: | Keywords: | ||
Cc: | Game: |
Description
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 , 21 years ago
Owner: | set to |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
comment:2 by , 21 years ago
comment:3 by , 21 years ago
Owner: | removed |
---|---|
Status: | closed → new |
comment:4 by , 21 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:6 by , 21 years ago
Owner: | set to |
---|---|
Status: | new → closed |
comment:7 by , 6 years ago
Component: | → Port: BeOS |
---|
-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 Makefile.new ie ./configure && make -f Makefile.new
so I don't see anything in this tracker item that we don't already have closing