I have attached a patch to fix build errors in the current OpenSG 2.0
source. The errors were all in the Carbon and Cocoa code.

 -Patrick


-- 
Patrick L. Hartling                    | VP Engineering, Infiscape Corp.
PGP: http://tinyurl.com/2msw3          | http://www.infiscape.com/
Index: Source/WindowSystem/Carbon/OSGCarbonWindow.cpp
===================================================================
--- Source/WindowSystem/Carbon/OSGCarbonWindow.cpp      (revision 583)
+++ Source/WindowSystem/Carbon/OSGCarbonWindow.cpp      (working copy)
@@ -145,4 +145,6 @@
     return true;
 }
 
+OSG_END_NAMESPACE
+
 #endif // __APPLE__
Index: Source/WindowSystem/Cocoa/OSGCocoaWindowBase.mm
===================================================================
--- Source/WindowSystem/Cocoa/OSGCocoaWindowBase.mm     (revision 583)
+++ Source/WindowSystem/Cocoa/OSGCocoaWindowBase.mm     (working copy)
@@ -361,13 +361,4 @@
 #pragma warning( disable : 177 )
 #endif
 
-namespace
-{
-    static Char8 cvsid_cpp       [] = "@(#)$Id: FCBaseTemplate_cpp.h 403 
2006-11-09 12:34:33Z PatrickDaehne $";
-    static Char8 cvsid_hpp       [] = OSGCOCOAWINDOWBASE_HEADER_CVSID;
-    static Char8 cvsid_inl       [] = OSGCOCOAWINDOWBASE_INLINE_CVSID;
-
-    static Char8 cvsid_fields_hpp[] = OSGCOCOAWINDOWFIELDS_HEADER_CVSID;
-}
-
 OSG_END_NAMESPACE
Index: Source/WindowSystem/Cocoa/OSGCocoaWindow.mm
===================================================================
--- Source/WindowSystem/Cocoa/OSGCocoaWindow.mm (revision 583)
+++ Source/WindowSystem/Cocoa/OSGCocoaWindow.mm (working copy)
@@ -156,15 +156,6 @@
 #pragma warning( disable : 177 )
 #endif
 
-namespace
-{
-    static Char8 cvsid_cpp       [] = "@(#)$Id: FCTemplate_cpp.h 403 
2006-11-09 12:34:33Z PatrickDaehne $";
-    static Char8 cvsid_hpp       [] = OSGCOCOAWINDOWBASE_HEADER_CVSID;
-    static Char8 cvsid_inl       [] = OSGCOCOAWINDOWBASE_INLINE_CVSID;
-
-    static Char8 cvsid_fields_hpp[] = OSGCOCOAWINDOWFIELDS_HEADER_CVSID;
-}
-
 #ifdef __sgi
 #pragma reset woff 1174
 #endif

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to