Menu

#572 Compiler options not passed to C++ compiler

open
nobody
None
5
2012-09-26
2005-07-13
No

Using 4.9.9.2 with Windows 2000.

Opened old project (works with 4.9.7.0)
has compiler options set (which worked), but they are
not effective in the new version.

In Project > Project Options > Parameters
the old compiler options show in left-hand "Compiler:"
area.

Makefile.win shows
the Compiler options in the CFLAGS variable, and
CXXFLAGS = $(CXXINCS)
without using the CFLAGS.

CFLAGS is also not used in the compile rules.

Work-around: cut and paste options from "Compiler:"
area to
"C++ compiler" area.

Suggestion: either include CFLAGS by default in
CXXFLAGS, or use CFLAGS in the compile rules.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.