Some files probably included some system headers that had "\p" strings in them...<div><br>Not sure if it's true anymore.</div><div><br></div><div><br><div class="gmail_quote">On Fri, Apr 13, 2012 at 2:58 PM, Kent Williams <span dir="ltr"><<a href="mailto:nkwmailinglists@gmail.com">nkwmailinglists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Another flag issue: -fpascal-strings -- another Apple-built-gcc-only flag.<br>
<br>
This would be needed to support pascal strings for old API calls, i.e.<br>
strings like this:<br>
<br>
"\pthis is a pascal string"<br>
<br>
I didn't see any Pascal Strings in any of the ftgl files.<br>
<br>
diff --git a/Utilities/ftgl/CMakeLists.txt b/Utilities/ftgl/CMakeLists.txt<br>
index 8f8e37d..edcaa23 100644<br>
--- a/Utilities/ftgl/CMakeLists.txt<br>
+++ b/Utilities/ftgl/CMakeLists.txt<br>
@@ -117,7 +117,7 @@ ENDIF (UNIX)<br>
#<br>
IF (APPLE)<br>
IF(CMAKE_COMPILER_IS_GNUCXX)<br>
- SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated -fpascal-strings")<br>
+ SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated")<br>
ENDIF(CMAKE_COMPILER_IS_GNUCXX)<br>
ENDIF (APPLE)<br>
<div class="im HOEnZb"><br>
<br>
<br>
On Fri, Apr 13, 2012 at 1:16 PM, Sean McBride <<a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a>> wrote:<br>
>>Shouldn't it be something like this?<br>
>><br>
>>set(BUILDING_ON_PPC_OS_X <whatever flag(s) tell you you're building<br>
>>on OS X with PPC>)<br>
>>if(NOT BUILD_SHARED_LIBS AND ${BUILDING_ON_PPC_OS_X})<br>
><br>
> Whether you're building _on_ PPC is not important, it's whether your building _for_ the PPC architecture. Remember, with Universal Binaries you may be building for ppc & intel at the same time.<br>
><br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></div><br></div>