On Tue, 22 May 2001 at 10:23:17PM +0200, Zdenek Kabelac wrote:
> > 3. qtvidcap doesn't compile -- compiler complains about invalid
> > "something" in ccap.h in lines 35, 37 and 38 (sorry, I'm not at home
> > and not a programmer). My g++ comes from egcs-1.1.2.
>
> Well its fully compilable on my system - so you fill have to
> be more specific if you want to fix this.
ok, here ya go :-)
Updated cvs snapshot (2001/05/24 2:20pm):
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -O2 -pipe -I/usr/X11R6/include
-I/usr/lib/qt-2.2.4/include -I/usr/include/SDL -D_REENTRANT -c v4lwindow.cpp
-Wall
In file included from /usr/include/sched.h:26,
from /usr/include/pthread.h:20,
from v4lxif.h:31,
from v4lwindow.cpp:2:
/usr/include/bits/types.h:95: warning: `__NFDBITS' redefined
/usr/include/linux/posix_types.h:22: warning: this is the location of the previous
definition
/usr/include/bits/types.h:97: warning: `__FDMASK' redefined
/usr/include/linux/posix_types.h:34: warning: this is the location of the previous
definition
In file included from v4lwindow.cpp:7:
ccap.h:43: invalid initializer
ccap.h:46: invalid initializer
v4lwindow.cpp: In method `void V4LWindow::moveEvent(class QMoveEvent *)':
v4lwindow.cpp:84: warning: unused variable `int norm'
v4lxif.h: At top level:
v4lxif.h:59: warning: `struct STRSTRTAB device_cap[11]' defined but not used
v4lxif.h:73: warning: `char * device_pal[16]' defined but not used
v4lxif.h:83: warning: `struct STRTAB audiomode[6]' defined but not used
v4lxif.h:97: warning: `struct STRTAB norms[5]' defined but not used
v4lxif.h:105: warning: `struct STRTAB norms_bttv[8]' defined but not used
v4lxif.h:116: warning: `struct STRTAB ifname[4]' defined but not used
v4lxif.h:130: warning: `struct restab cv_dimensions[10]' defined but not used
After removing second 'const' in lines 43, 45 and 46 I get (no -Wall this
time):
In file included from /usr/include/sched.h:26,
from /usr/include/pthread.h:20,
from v4lxif.h:31,
from v4lwindow.cpp:2:
/usr/include/bits/types.h:95: warning: `__NFDBITS' redefined
/usr/include/linux/posix_types.h:22: warning: this is the location of the previous
definition
/usr/include/bits/types.h:97: warning: `__FDMASK' redefined
/usr/include/linux/posix_types.h:34: warning: this is the location of the previous
definition
In file included from v4lwindow.cpp:7:
ccap.h:43: ANSI C++ forbids in-class initialization of non-const static member
`ratings'
ccap.h:43: invalid initializer
ccap.h:46: ANSI C++ forbids in-class initialization of non-const static member `modes'
ccap.h:46: invalid initializer
$g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
./configure ran with --enable-quiet --enable-release --disable-dpms
and --disable-loader-out, kernel 2.4.2, glibc 2.1.3.
thanks in advance, Pawel
--
Pawel Dziekonski - dzieko#mml.ch.pwr.wroc.pl - http://2618374022/dzieko
"Xaero: That's like Africa hot."
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile