Opened 14 years ago

Last modified 13 years ago

#1611 new defect

In configure no option to build C++ files

Reported by: jaswinderrajput@… Owned by: reimar
Priority: normal Component: streaming
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

In mplayer-export-2009-11-12 there is no option provided to compile C++ file.

mplayer-export-2009-11-12 is have 2 C++ file which compiles if --enable-live

$ find . -name *.cpp
./libmpdemux/demux_rtp_codec.cpp
./libmpdemux/demux_rtp.cpp
$

./configure --help only provide the option for C compiler : --cc=COMPILER C compiler to build MPlayer [gcc]

And configure C++ is using same compiler and flags for C like this :

CXXFLAGS=" $CFLAGS -DSTDC_LIMIT_MACROS"

CXX = $_cc

So these leads to compiler errors for C++ files.

Change History (1)

comment:1 by compn, 13 years ago

Owner: changed from r_togni@… to reimar
Note: See TracTickets for help on using tickets.