[ scummvm-Feature Requests-744677 ] Configure script options

SourceForge.net noreply at sourceforge.net
Sun Aug 10 08:21:42 CEST 2003


Feature Requests item #744677, was opened at 2003-05-28 12:24
Message generated for change (Comment added) made by khalek
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418823&aid=744677&group_id=37116

Category: None
Group: None
>Status: Closed
Resolution: Rejected
Priority: 5
Submitted By: Chris Gelatt (kreeblah)
>Assigned to: Jonathan Gray (khalek)
Summary: Configure script options

Initial Comment:
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).

----------------------------------------------------------------------

>Comment By: Jonathan Gray (khalek)
Date: 2003-08-10 16:21

Message:
Logged In: YES 
user_id=59347

configure script does more things now closing

----------------------------------------------------------------------

Comment By: Max Horn (fingolfin)
Date: 2003-05-30 21:43

Message:
Logged In: YES 
user_id=12935

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 By: Jonathan Gray (khalek)
Date: 2003-05-30 15:50

Message:
Logged In: YES 
user_id=59347

-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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418823&aid=744677&group_id=37116




More information about the Scummvm-tracker mailing list