Hi,
my VC8 compiler still doesn't like mac newlines. This
time he complained about OSGBillboardFields.h having mac
newlines. Here's the patch attached.... Alternatively, the
whole file converted, as the diff of the patch seems
a little strange to me.
Cheers,
Toni
--
Ing. Antonio Bleile
Seac02 S.r.l.
via Avogadro 4
10121 Torino Italia
Tel. +39.011.197.006.52
Fax +39.011.197.006.53
E-mail [EMAIL PROTECTED]
Sito www.seac02.it
Index: OSGBillboardFields.h
===================================================================
RCS file:
/cvsroot/opensg/OpenSG/Source/System/NodeCores/Groups/Misc/OSGBillboardFields.h,v
retrieving revision 1.11
diff -u -r1.11 OSGBillboardFields.h
--- OSGBillboardFields.h 18 Sep 2007 09:43:59 -0000 1.11
+++ OSGBillboardFields.h 21 Sep 2007 09:58:46 -0000
@@ -1,131 +1,131 @@
-/*---------------------------------------------------------------------------*\
- * OpenSG *
- * *
- * *
- * Copyright (C) 2000-2002 by the OpenSG Forum *
- * *
- * www.opensg.org *
- * *
- * contact: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
*
- * *
-\*---------------------------------------------------------------------------*/
-/*---------------------------------------------------------------------------*\
- * License *
- * *
- * This library is free software; you can redistribute it and/or modify it *
- * under the terms of the GNU Library General Public License as published *
- * by the Free Software Foundation, version 2. *
- * *
- * This library is distributed in the hope that it will be useful, but *
- * WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
- * Library General Public License for more details. *
- * *
- * You should have received a copy of the GNU Library General Public *
- * License along with this library; if not, write to the Free Software *
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
- * *
-\*---------------------------------------------------------------------------*/
-/*---------------------------------------------------------------------------*\
- * Changes *
- * *
- * *
- * *
- * *
- * *
- * *
-\*---------------------------------------------------------------------------*/
-
-/*****************************************************************************\
- *****************************************************************************
- ** **
- ** This file is automatically generated. **
- ** **
- ** Any changes made to this file WILL be lost when it is **
- ** regenerated, which can become necessary at any time. **
- ** **
- *****************************************************************************
-\*****************************************************************************/
-
-
-#ifndef _OSGBILLBOARDFIELDS_H_
-#define _OSGBILLBOARDFIELDS_H_
-#ifdef __sgi
-#pragma once
-#endif
-
-#include <OSGConfig.h>
-
-#include <OSGFieldContainerPtr.h>
-#include <OSGNodeCoreFieldDataType.h>
-#include <OSGSystemDef.h>
-
-#include <OSGGroupFields.h>
-
-OSG_BEGIN_NAMESPACE
-
-class Billboard;
-
-#if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent
doubles
-//! BillboardPtr
-
-typedef FCPtr<GroupPtr, Billboard> BillboardPtr;
-
-#endif
-
-#if !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)
-/*! \ingroup GrpSystemFieldTraits
- */
-#if !defined(OSG_DOC_DEV_TRAITS)
-/*! \hideinhierarchy */
-#endif
-
-template <>
-struct FieldDataTraits<BillboardPtr> :
- public FieldTraitsRecurseMapper<BillboardPtr, true>
-{
- static DataType _type;
-
- enum { StringConvertable = 0x00 };
- enum { bHasParent = 0x01 };
-
- static DataType &getType (void) { return _type; }
-
- static const char *getSName(void) { return "SFBillboardPtr"; }
- static const char *getMName(void) { return "MFBillboardPtr"; }
-};
-
-#if !defined(OSG_DOC_DEV_TRAITS)
-/*! \class FieldTraitsRecurseMapper<BillboardPtr, true>
- \hideinhierarchy
- */
-#endif
-
-#endif // !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)
-
-
-#if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
-/*! \ingroup GrpSystemFieldSingle */
-
-typedef SField<BillboardPtr> SFBillboardPtr;
-#endif
-
-#ifndef OSG_COMPILEBILLBOARDINST
-OSG_DLLEXPORT_DECL1(SField, BillboardPtr, OSG_SYSTEMLIB_DLLTMPLMAPPING)
-#endif
-
-#if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
-/*! \ingroup GrpSystemFieldMulti */
-
-typedef MField<BillboardPtr> MFBillboardPtr;
-#endif
-
-#ifndef OSG_COMPILEBILLBOARDINST
-OSG_DLLEXPORT_DECL1(MField, BillboardPtr, OSG_SYSTEMLIB_DLLTMPLMAPPING)
-#endif
-
-OSG_END_NAMESPACE
-
-#define OSGBILLBOARDFIELDS_HEADER_CVSID "@(#)$Id: FCFieldsTemplate_h.h,v 1.26
2006/02/20 16:55:35 dirk Exp $"
-
-#endif /* _OSGBILLBOARDFIELDS_H_ */
+/*---------------------------------------------------------------------------*\
+ * OpenSG *
+ * *
+ * *
+ * Copyright (C) 2000-2002 by the OpenSG Forum *
+ * *
+ * www.opensg.org *
+ * *
+ * contact: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
*
+ * *
+\*---------------------------------------------------------------------------*/
+/*---------------------------------------------------------------------------*\
+ * License *
+ * *
+ * This library is free software; you can redistribute it and/or modify it *
+ * under the terms of the GNU Library General Public License as published *
+ * by the Free Software Foundation, version 2. *
+ * *
+ * This library is distributed in the hope that it will be useful, but *
+ * WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
+ * Library General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU Library General Public *
+ * License along with this library; if not, write to the Free Software *
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
+ * *
+\*---------------------------------------------------------------------------*/
+/*---------------------------------------------------------------------------*\
+ * Changes *
+ * *
+ * *
+ * *
+ * *
+ * *
+ * *
+\*---------------------------------------------------------------------------*/
+
+/*****************************************************************************\
+ *****************************************************************************
+ ** **
+ ** This file is automatically generated. **
+ ** **
+ ** Any changes made to this file WILL be lost when it is **
+ ** regenerated, which can become necessary at any time. **
+ ** **
+ *****************************************************************************
+\*****************************************************************************/
+
+
+#ifndef _OSGBILLBOARDFIELDS_H_
+#define _OSGBILLBOARDFIELDS_H_
+#ifdef __sgi
+#pragma once
+#endif
+
+#include <OSGConfig.h>
+
+#include <OSGFieldContainerPtr.h>
+#include <OSGNodeCoreFieldDataType.h>
+#include <OSGSystemDef.h>
+
+#include <OSGGroupFields.h>
+
+OSG_BEGIN_NAMESPACE
+
+class Billboard;
+
+#if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent
doubles
+//! BillboardPtr
+
+typedef FCPtr<GroupPtr, Billboard> BillboardPtr;
+
+#endif
+
+#if !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)
+/*! \ingroup GrpSystemFieldTraits
+ */
+#if !defined(OSG_DOC_DEV_TRAITS)
+/*! \hideinhierarchy */
+#endif
+
+template <>
+struct FieldDataTraits<BillboardPtr> :
+ public FieldTraitsRecurseMapper<BillboardPtr, true>
+{
+ static DataType _type;
+
+ enum { StringConvertable = 0x00 };
+ enum { bHasParent = 0x01 };
+
+ static DataType &getType (void) { return _type; }
+
+ static const char *getSName(void) { return "SFBillboardPtr"; }
+ static const char *getMName(void) { return "MFBillboardPtr"; }
+};
+
+#if !defined(OSG_DOC_DEV_TRAITS)
+/*! \class FieldTraitsRecurseMapper<BillboardPtr, true>
+ \hideinhierarchy
+ */
+#endif
+
+#endif // !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)
+
+
+#if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
+/*! \ingroup GrpSystemFieldSingle */
+
+typedef SField<BillboardPtr> SFBillboardPtr;
+#endif
+
+#ifndef OSG_COMPILEBILLBOARDINST
+OSG_DLLEXPORT_DECL1(SField, BillboardPtr, OSG_SYSTEMLIB_DLLTMPLMAPPING)
+#endif
+
+#if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
+/*! \ingroup GrpSystemFieldMulti */
+
+typedef MField<BillboardPtr> MFBillboardPtr;
+#endif
+
+#ifndef OSG_COMPILEBILLBOARDINST
+OSG_DLLEXPORT_DECL1(MField, BillboardPtr, OSG_SYSTEMLIB_DLLTMPLMAPPING)
+#endif
+
+OSG_END_NAMESPACE
+
+#define OSGBILLBOARDFIELDS_HEADER_CVSID "@(#)$Id: FCFieldsTemplate_h.h,v 1.26
2006/02/20 16:55:35 dirk Exp $"
+
+#endif /* _OSGBILLBOARDFIELDS_H_ */
/*---------------------------------------------------------------------------*\
* OpenSG *
* *
* *
* Copyright (C) 2000-2002 by the OpenSG Forum *
* *
* www.opensg.org *
* *
* contact: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] *
* *
\*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*\
* License *
* *
* This library is free software; you can redistribute it and/or modify it *
* under the terms of the GNU Library General Public License as published *
* by the Free Software Foundation, version 2. *
* *
* This library is distributed in the hope that it will be useful, but *
* WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
* Library General Public License for more details. *
* *
* You should have received a copy of the GNU Library General Public *
* License along with this library; if not, write to the Free Software *
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
* *
\*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*\
* Changes *
* *
* *
* *
* *
* *
* *
\*---------------------------------------------------------------------------*/
/*****************************************************************************\
*****************************************************************************
** **
** This file is automatically generated. **
** **
** Any changes made to this file WILL be lost when it is **
** regenerated, which can become necessary at any time. **
** **
*****************************************************************************
\*****************************************************************************/
#ifndef _OSGBILLBOARDFIELDS_H_
#define _OSGBILLBOARDFIELDS_H_
#ifdef __sgi
#pragma once
#endif
#include <OSGConfig.h>
#include <OSGFieldContainerPtr.h>
#include <OSGNodeCoreFieldDataType.h>
#include <OSGSystemDef.h>
#include <OSGGroupFields.h>
OSG_BEGIN_NAMESPACE
class Billboard;
#if !defined(OSG_DO_DOC) // created as a dummy class, remove to prevent
doubles
//! BillboardPtr
typedef FCPtr<GroupPtr, Billboard> BillboardPtr;
#endif
#if !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)
/*! \ingroup GrpSystemFieldTraits
*/
#if !defined(OSG_DOC_DEV_TRAITS)
/*! \hideinhierarchy */
#endif
template <>
struct FieldDataTraits<BillboardPtr> :
public FieldTraitsRecurseMapper<BillboardPtr, true>
{
static DataType _type;
enum { StringConvertable = 0x00 };
enum { bHasParent = 0x01 };
static DataType &getType (void) { return _type; }
static const char *getSName(void) { return "SFBillboardPtr"; }
static const char *getMName(void) { return "MFBillboardPtr"; }
};
#if !defined(OSG_DOC_DEV_TRAITS)
/*! \class FieldTraitsRecurseMapper<BillboardPtr, true>
\hideinhierarchy
*/
#endif
#endif // !defined(OSG_DO_DOC) || (OSG_DOC_LEVEL >= 3)
#if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
/*! \ingroup GrpSystemFieldSingle */
typedef SField<BillboardPtr> SFBillboardPtr;
#endif
#ifndef OSG_COMPILEBILLBOARDINST
OSG_DLLEXPORT_DECL1(SField, BillboardPtr, OSG_SYSTEMLIB_DLLTMPLMAPPING)
#endif
#if !defined(OSG_DO_DOC) || defined(OSG_DOC_FIELD_TYPEDEFS)
/*! \ingroup GrpSystemFieldMulti */
typedef MField<BillboardPtr> MFBillboardPtr;
#endif
#ifndef OSG_COMPILEBILLBOARDINST
OSG_DLLEXPORT_DECL1(MField, BillboardPtr, OSG_SYSTEMLIB_DLLTMPLMAPPING)
#endif
OSG_END_NAMESPACE
#define OSGBILLBOARDFIELDS_HEADER_CVSID "@(#)$Id: FCFieldsTemplate_h.h,v 1.26
2006/02/20 16:55:35 dirk Exp $"
#endif /* _OSGBILLBOARDFIELDS_H_ */
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users