avifile will not compile on -current

From: Kevin Oberman <oberman_at_es.net>
Date: Fri, 22 Sep 2006 12:59:51 -0700
Not sure if this was best to current or ports, but I suspect current is
the best starting point. It is beyond my VERY limited C++ skills to
decipher. 

When I try building avifile on either of my current systems, I get the
error:
 c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -I./../../ffmpeg/libavformat -I./../../ffmpeg/libavcodec -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -Wall -Wno-unused -I../../include -O2 -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -c ReadFile.cpp  -fPIC -DPIC -o .libs/ReadFile.o
ReadFile.cpp:129: error: explicit qualification in declaration of `avm::IReadFile* avm::CreateReadFile(const char*, unsigned int)'
gmake[2]: *** [ReadFile.lo] Error 1
gmake[2]: Leaving directory `/usr/ports/multimedia/avifile/work/avifile-0.7-0.7.43/lib/aviread'

This compiles fine on a 6.2-PRERELEASE system.

Any idea what might be causing this? I don't see any other reports of
problem, so it may be a problem on my system, but I don't see what it
could be other than compiler. But both systems are gcc 3.4.6 (although
one is 20060305 and the other 20060825). Maybe something in the changes
to gcc are responsible.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman_at_es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

Received on Fri Sep 22 2006 - 18:00:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC