[Libspiff-commits] SF.net SVN: libspiff:[506] trunk
Brought to you by:
hartwork
|
From: <har...@us...> - 2008-11-17 20:02:25
|
Revision: 506
http://libspiff.svn.sourceforge.net/libspiff/?rev=506&view=rev
Author: hartwork
Date: 2008-11-17 20:02:19 +0000 (Mon, 17 Nov 2008)
Log Message:
-----------
Apply Sun compiler patch by Tim Mooney
Modified Paths:
--------------
trunk/ChangeLog
trunk/THANKS
trunk/TODO.txt
trunk/src/SpiffDateTime.cpp
trunk/src/SpiffReader.cpp
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-11-16 23:06:25 UTC (rev 505)
+++ trunk/ChangeLog 2008-11-17 20:02:19 UTC (rev 506)
@@ -1,5 +1,8 @@
???
+ * Fixed: Compile errors with Sun Ceres C++ 5.10
+ Thanks to Tim Mooney for the patch!
+ Also, http://predef.sf.net/ was helpful again.
* Fixed: Test suite compile fix for GCC 4.3
Thanks to Alexis Ballier for the patch!
* Changed: Build system changes:
Modified: trunk/THANKS
===================================================================
--- trunk/THANKS 2008-11-16 23:06:25 UTC (rev 505)
+++ trunk/THANKS 2008-11-17 20:02:19 UTC (rev 506)
@@ -16,4 +16,5 @@
Robert Buchholz
Samuli Suominen
Szabolcs Horv\xE1t
+Tim Mooney
Vitaly Lipatov
Modified: trunk/TODO.txt
===================================================================
--- trunk/TODO.txt 2008-11-16 23:06:25 UTC (rev 505)
+++ trunk/TODO.txt 2008-11-17 20:02:19 UTC (rev 506)
@@ -6,4 +6,3 @@
* input output parameter tags
* update boostrap scripts to state of uriparser
* nested configure as with uriparser?
- * build-aux dir as with uriparser?
Modified: trunk/src/SpiffDateTime.cpp
===================================================================
--- trunk/src/SpiffDateTime.cpp 2008-11-16 23:06:25 UTC (rev 505)
+++ trunk/src/SpiffDateTime.cpp 2008-11-17 20:02:19 UTC (rev 506)
@@ -46,7 +46,11 @@
#include <spiff/SpiffDateTime.h>
#include <cstring>
+#if defined(sun) || defined(__sun)
+# include <strings.h> // for strncmp()
+#endif
+
namespace Spiff {
Modified: trunk/src/SpiffReader.cpp
===================================================================
--- trunk/src/SpiffReader.cpp 2008-11-16 23:06:25 UTC (rev 505)
+++ trunk/src/SpiffReader.cpp 2008-11-17 20:02:19 UTC (rev 506)
@@ -2542,25 +2542,25 @@
}
-/*static*/ inline void SpiffReader::masterStart(void * userData, XML_Char const * fullName, XML_Char const ** atts) {
+/*static*/ void SpiffReader::masterStart(void * userData, XML_Char const * fullName, XML_Char const ** atts) {
SpiffReader * const parser = reinterpret_cast<SpiffReader *>(userData);
parser->handleStart(fullName, atts);
}
-/*static*/ inline void SpiffReader::masterEnd(void * userData, XML_Char const * fullName) {
+/*static*/ void SpiffReader::masterEnd(void * userData, XML_Char const * fullName) {
SpiffReader * const parser = reinterpret_cast<SpiffReader *>(userData);
parser->handleEnd(fullName);
}
-/*static*/ inline void SpiffReader::masterCharacters(void * userData, XML_Char const * s, int len) {
+/*static*/ void SpiffReader::masterCharacters(void * userData, XML_Char const * s, int len) {
SpiffReader * const parser = reinterpret_cast<SpiffReader *>(userData);
parser->handleCharacters(s, len);
}
-/*static*/ inline void
+/*static*/ void
SpiffReader::masterEntityDeclaration(void * userData, XML_Char const * entityName,
int /*is_parameter_entity*/, XML_Char const * value, int value_length,
XML_Char const * /*base*/, XML_Char const * /*systemId*/,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|