Re: [osg-users] Strange line in FileUtils.cpp
Robert, The issue is fixed. Thanks Eduardo On Thu, Apr 19, 2012 at 7:35 AM, Robert Osfield robert.osfi...@gmail.com wrote: HI Eduardo, Thanks for the note, Clang was right to highlight this and your suggested change looks correct to me so I've modified FileUtils.cpp and checked it in. Could you updated to the latest svn/trunk version OSG and let me know if the issue is now fixed. Cheers, Robert. On 18 April 2012 18:23, Eduardo Poyart poy...@gmail.com wrote: Hello, Line 59 in FileUtils.cpp seems strange: #ifdef __IPHONE_4_0 (__IPHONE_OS_VERSION_MIN_REQUIRED = __IPHONE_4_0) Clang warns me about extra tokens at end of #ifdef directive at the . Shouldn't the correct syntax be as below? #if defined( __IPHONE_4_0) (__IPHONE_OS_VERSION_MIN_REQUIRED = __IPHONE_4_0) Cheers Eduardo ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Strange line in FileUtils.cpp
HI Eduardo, Thanks for the note, Clang was right to highlight this and your suggested change looks correct to me so I've modified FileUtils.cpp and checked it in. Could you updated to the latest svn/trunk version OSG and let me know if the issue is now fixed. Cheers, Robert. On 18 April 2012 18:23, Eduardo Poyart poy...@gmail.com wrote: Hello, Line 59 in FileUtils.cpp seems strange: #ifdef __IPHONE_4_0 (__IPHONE_OS_VERSION_MIN_REQUIRED = __IPHONE_4_0) Clang warns me about extra tokens at end of #ifdef directive at the . Shouldn't the correct syntax be as below? #if defined( __IPHONE_4_0) (__IPHONE_OS_VERSION_MIN_REQUIRED = __IPHONE_4_0) Cheers Eduardo ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Strange line in FileUtils.cpp
Hello, Line 59 in FileUtils.cpp seems strange: #ifdef __IPHONE_4_0 (__IPHONE_OS_VERSION_MIN_REQUIRED = __IPHONE_4_0) Clang warns me about extra tokens at end of #ifdef directive at the . Shouldn't the correct syntax be as below? #if defined( __IPHONE_4_0) (__IPHONE_OS_VERSION_MIN_REQUIRED = __IPHONE_4_0) Cheers Eduardo ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org