|
| From: | Mike Miller |
| Subject: | [Octave-bug-tracker] [bug #48302] configure: fltk-config leaks too many compiler options into FLTK_CPPFLAGS |
| Date: | Fri, 24 Jun 2016 18:10:31 +0000 (UTC) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Update of bug #48302 (project octave):
Status: Invalid => Need Info
Open/Closed: Closed => Open
Summary: Update to FC24 failed build due to lack of
redhat-rpm-config-40-2.fc24.noarch => configure: fltk-config leaks too many
compiler options into FLTK_CPPFLAGS
_______________________________________________________
Follow-up Comment #7:
I do remember looking at fltk-config for some related issue or question
recently. I remember thinking that maybe Octave should filter the output of
fltk-config --cflags or --cxxflags and only use the -I options, ignore
anything else with -D or -f or -specs.
IMHO those -D options should only be declared inside the library for building
that library's modules, and not imposed on the API.
I agree this seems like a bug in fltk itself, the config program should be
more conservative in what options it recommends users to apply.
Reopening for suggestions or patches. My suggestion would be to pipe the
output through sed and only include words that start with "-I" in the
FLTK_CPPFLAGS variable.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48302>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |