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

Reply via email to