Another problem with gcc4

Jaakko Niemi <[email protected]> Mon, 25 Jul 2005 19:57:35 +0300
Newsgroups gmane.comp.file-systems.sfs.general
Message-ID <[email protected]>
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I/usr/include
 -DSLEEPYCAT -I.. -I../async -I../arpc -I../crypt -I../sfsmisc
 -I../sfsrodb -I../adb -I../svc -I../svc
 -DEXECDIR=\"/usr/local/lib/sfs-0.8pre\" -DETCDIR=\"/etc/sfs\"
 -DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\"
 -DSFSDIR=\"/var/sfs\" -g -O2 -Wall -Werror -MT aio.lo -MD -MP -MF
 .deps/aio.Tpo -c aio.C -o aio.o
 aiod.h:41: error: ISO C++ forbids declaration of 'aiod' with no type
 aiod.h:41: error: expected ';' before '*' token
 aiod.h:48: error: expected `)' before '*' token
 aiod.h:66: error: 'aiofh' was not declared in this scope
 aiod.h:66: error: template argument 1 is invalid
 aiod.h:66: error: template argument 2 is invalid
 aiod.h:66: error: expected ';' before 'cbopen'
 aiod.h:161: error: 'aiofh' was not declared in this scope
 aiod.h:161: error: template argument 1 is invalid
 aiod.h:161: error: 'cbopen' has not been declared
 aiod.h:200: error: 'cbopen' has not been declared
 
 .... few pages of spew caused by initial problem.
 Patch coming up in few days, unless anyone beats
 me to it. Hints welcome. 

 		--j