Hi ,

I checked this trouble.
I confirmed the same problem as Michael Ablassmeier occurred.
-- >
if i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../..    -pipe 
-D_REENTRANT -O2 -fomit-frame-pointer -march=i486 -ffast-math -msse 
-mfpmath=sse -MT flash.o -MD -MP -MF ".deps/flash.Tpo" -c -o flash.o flash.cc; \
        then mv -f ".deps/flash.Tpo" ".deps/flash.Po"; else rm -f 
".deps/flash.Tpo"; exit 1; fi
swf.h:202: error: previous declaration of ‘int shape_size’ with ‘C++’ linkage
flash.cc:294: error: conflicts with new declaration with ‘C’ linkage
swf.h:202: error: previous declaration of ‘int shape_nb’ with ‘C++’ linkage
flash.cc:294: error: conflicts with new declaration with ‘C’ linkage
swf.h:202: error: previous declaration of ‘int shaperecord_size’ with ‘C++’ 
linkage
flash.cc:294: error: conflicts with new declaration with ‘C’ linkage
swf.h:202: error: previous declaration of ‘int shaperecord_nb’ with ‘C++’ 
linkage
flash.cc:294: error: conflicts with new declaration with ‘C’ linkage
swf.h:202: error: previous declaration of ‘int style_size’ with ‘C++’ linkage
flash.cc:294: error: conflicts with new declaration with ‘C’ linkage
swf.h:202: error: previous declaration of ‘int style_nb’ with ‘C++’ linkage
flash.cc:294: error: conflicts with new declaration with ‘C’ linkage
<--

I made the patch to solve this problem.
Could you confirm it?

regards,
 Nobuhiro

--
Nobuhiro Iwamatsu
        [EMAIL PROTECTED]
        [EMAIL PROTECTED]

        GPG ID : 3170EBE9
--- ./lib/flash/swf.h.orig	2007-08-25 17:47:35.000000000 +0900
+++ ./lib/flash/swf.h	2007-08-25 17:47:54.000000000 +0900
@@ -199,7 +199,13 @@
 #define true 1
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif 
 extern int shape_size,shape_nb,shaperecord_size,shaperecord_nb,style_size,style_nb;
+#ifdef __cplusplus
+}
+#endif // __cplusplus
 
 typedef void (*ScanLineFunc)(void *id, long y, long start, long end);
 

Attachment: pgptExiwHCq0I.pgp
Description: PGP signature

Reply via email to