Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150924 - vlc builds C++ code with CFLAGS instead of CXXFLAGS
Summary: vlc builds C++ code with CFLAGS instead of CXXFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-11 13:04 UTC by SpanKY
Modified: 2006-11-16 14:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2006-10-11 13:04:07 UTC
i have slightly diff CFLAGS and CXXFLAGS:
$ portageq envvar CFLAGS CXXFLAGS
-O2 -march=pentium-m -pipe -Wimplicit-function-declaration
-O2 -march=pentium-m -pipe

and vlc does not utilize these cleanly ... for example, with vlc-0.8.4a-r1:

if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags plugin skins2` -Wsign-compare -Wsign-compare -Wall -O2 -march=pentium-m -pipe -Wimplicit-function-declaration -pipe -MT libskins2_plugin_a-macosx_tooltip.o -MD -MP -MF ".deps/libskins2_plugin_a-macosx_tooltip.Tpo" -c -o libskins2_plugin_a-macosx_tooltip.o `test -f 'macosx/macosx_tooltip.cpp' || echo './'`macosx/macosx_tooltip.cpp; \
        then mv -f ".deps/libskins2_plugin_a-macosx_tooltip.Tpo" ".deps/libskins2_plugin_a-macosx_tooltip.Po"; else rm -f ".deps/libskins2_plugin_a-macosx_tooltip.Tpo"; exit 1; fi
cc1plus: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-11 13:10:35 UTC
I know, I've been tracking that down for a while, I reduced the quantity of similar issues since the original version, but the buildsystem is still half broken :/
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-16 14:25:51 UTC
Allow me to close this already, even if I'll actually fix it in 0.8.6 versions (patch already added to the patchset, just waiting to push them out).