[mapguide-commits] r7614 - in trunk/MgDev/Common: MapGuideCommon/Services Stylization

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Jun 12 05:14:59 PDT 2013


Author: jng
Date: 2013-06-12 05:14:59 -0700 (Wed, 12 Jun 2013)
New Revision: 7614

Modified:
   trunk/MgDev/Common/MapGuideCommon/Services/ProxyMappingService.cpp
   trunk/MgDev/Common/Stylization/StylizationUtil.cpp
Log:
Linux build fixes

Modified: trunk/MgDev/Common/MapGuideCommon/Services/ProxyMappingService.cpp
===================================================================
--- trunk/MgDev/Common/MapGuideCommon/Services/ProxyMappingService.cpp	2013-06-12 05:14:01 UTC (rev 7613)
+++ trunk/MgDev/Common/MapGuideCommon/Services/ProxyMappingService.cpp	2013-06-12 12:14:59 UTC (rev 7614)
@@ -426,7 +426,7 @@
                        Mapping_Service,
                        BUILD_VERSION(2,6,0),
                        MgCommand::knObject,    mapDefinition,
-                       MgCommand::knString,    sessionId,
+                       MgCommand::knString,    &sessionId,
                        MgCommand::knInt32,     requestedFeatures,
                        MgCommand::knInt32,     iconsPerScaleRange,
                        MgCommand::knNone);
@@ -495,9 +495,9 @@
                        Mapping_Service,
                        BUILD_VERSION(2,6,0),
                        MgCommand::knObject,    mapDefinition,
-                       MgCommand::knString,    targetMapName,
-                       MgCommand::knString,    sessionId,
-                       MgCommand::knString,    iconFormat,
+                       MgCommand::knString,    &targetMapName,
+                       MgCommand::knString,    &sessionId,
+                       MgCommand::knString,    &iconFormat,
                        MgCommand::knInt32,     iconWidth,
                        MgCommand::knInt32,     iconHeight,
                        MgCommand::knInt32,     requestedFeatures,

Modified: trunk/MgDev/Common/Stylization/StylizationUtil.cpp
===================================================================
--- trunk/MgDev/Common/Stylization/StylizationUtil.cpp	2013-06-12 05:14:01 UTC (rev 7613)
+++ trunk/MgDev/Common/Stylization/StylizationUtil.cpp	2013-06-12 12:14:59 UTC (rev 7614)
@@ -23,6 +23,7 @@
 #include "SLDSymbols.h"
 #include "SE_StyleVisitor.h"
 #include "SE_BufferPool.h"
+#include <cmath>
 
 extern void ProcessStylizerException(FdoException* exception, int line, wchar_t* file);
 



More information about the mapguide-commits mailing list