Hi Robert,
attached is a change to
src/osgUtil/tristripper/include/public_types.h
which is required to make osg compile with gcc-4.6.0.
This is just a harmless missing include.
The file is based on rev 12339.
Please apply
Thanks!
Mathias
--
Dr. Mathias Fröhlich, science + computing ag, Software Solutions
Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
Phone: +49 7071 9457-268, Fax: +49 7071 9457-511
--
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Roland Niemeier,
Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Philippe Miltin
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196
//
// Copyright (C) 2004 Tanguy Fautr?.
// For conditions of distribution and use,
// see copyright notice in tri_stripper.h
//
//////////////////////////////////////////////////////////////////////
// SVN: $Id: public_types.h 86 2005-06-08 17:47:27Z gpsnoopy $
//////////////////////////////////////////////////////////////////////
#ifndef TRI_STRIPPER_HEADER_GUARD_PUBLIC_TYPES_H
#define TRI_STRIPPER_HEADER_GUARD_PUBLIC_TYPES_H
#include <vector>
#include <cstdlib>
namespace triangle_stripper
{
typedef size_t index;
typedef std::vector<index> indices;
enum primitive_type
{
TRIANGLES = 0x0004, // = GL_TRIANGLES
TRIANGLE_STRIP = 0x0005 // = GL_TRIANGLE_STRIP
};
struct primitive_group
{
indices Indices;
primitive_type Type;
};
typedef std::vector<primitive_group> primitive_vector;
}
#endif // TRI_STRIPPER_HEADER_GUARD_PUBLIC_TYPES_H
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org