[mythtv] latest cvs problem

Tony Clark tclark at telia.com
Fri May 21 06:26:05 EDT 2004


Ok after some testing this appears to be a gcc-3.40(gentoo?) issue.  Compiles 
fine with gcc-3.3.3 also gentoo version.

tony

On Friday 21 May 2004 09.04, Tony Clark wrote:
> Hi,
>
> Just did a cvs up and got the following compile problem.
>
> g++ -c -pipe -Wall -W -O3 -march=athlon-xp -fomit-frame-pointer
> `freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -DUSING_IVTV
> -DUSING_XVMC -DUSING_XV -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/local/include
> -I/usr/kde/3.2/include -I../libmyth -I.. -Idvbdev -I../libavcodec
> -I/usr/qt/3/include -o
> RingBuffer.o RingBuffer.cpp
> g++ -c -pipe -Wall -W -O3 -march=athlon-xp -fomit-frame-pointer
> `freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -DUSING_IVTV
> -DUSING_XVMC -DUSING_XV -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/local/include
> -I/usr/kde/3.2/include -I../libmyth -I.. -Idvbdev -I../libavcodec
> -I/usr/qt/3/include -o RTjpegN.o RTjpegN.cpp
> RTjpegN.cpp: In member function `int RTjpeg::b2s(int16_t*, int8_t*,
> uint8_t)': RTjpegN.cpp:136: error: ISO C++ forbids cast to non-reference
> type used as lvalue
> RTjpegN.cpp:145: error: ISO C++ forbids cast to non-reference type used as
> lvalue
> RTjpegN.cpp:174: error: ISO C++ forbids cast to non-reference type used as
> lvalue
> RTjpegN.cpp:186: error: ISO C++ forbids cast to non-reference type used as
> lvalue
> RTjpegN.cpp:203: error: ISO C++ forbids cast to non-reference type used as
> lvalue
> RTjpegN.cpp:224: error: ISO C++ forbids cast to non-reference type used as
> lvalue
> RTjpegN.cpp:234: error: ISO C++ forbids cast to non-reference type used as
> lvalue
> RTjpegN.cpp:241: error: ISO C++ forbids cast to non-reference type used as
> lvalue
> ma

-- 
Regards
Tony

Contract ASIC and FPGA design.
Telephone +46 730 666 743
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x3896B970



More information about the mythtv-dev mailing list