senoutouya / recastnavigation

Automatically exported from code.google.com/p/recastnavigation
zlib License
0 stars 0 forks source link

gcc complains about `const float` return type when compiling with -Wignored-qualifiers #210

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When compiling client code with gcc -Wignored-qualifiers, a couple headers 
generate the following warnings:

recastnavigation/DetourCrowd/Include/DetourProximityGrid.h:62:35: error: type 
qualifiers ignored on function return type [-Werror=ignored-qualifiers]
recastnavigation/DetourCrowd/Include/DetourCrowd.h:191:28: error: type 
qualifiers ignored on function return type [-Werror=ignored-qualifiers]
recastnavigation/DetourCrowd/Source/DetourCrowd.cpp:376:36: error: type 
qualifiers ignored on function return type [-Werror=ignored-qualifiers]

Original issue reported on code.google.com by mends...@gmail.com on 2 Jul 2012 at 11:15

GoogleCodeExporter commented 9 years ago
See patch at: 
https://github.com/mendsley/recastnavigation/compare/gcc/wignored-qualifiers

Original comment by mends...@gmail.com on 2 Jul 2012 at 11:15

Attachments:

GoogleCodeExporter commented 9 years ago
Old github link is dead.

https://github.com/mendsley/recastnavigation/compare/issue_ignored_qualifiers

Original comment by mends...@gmail.com on 24 Dec 2012 at 2:18

GoogleCodeExporter commented 9 years ago
Looks like I lost my extra compiler flags when I switched over to xcode4. Do 
you know how to turn on extra warnings in xcode4, or alternatively do you 
happen to have another trick to compile with default gcc warnings?

Original comment by memono...@gmail.com on 6 Jan 2013 at 7:36

GoogleCodeExporter commented 9 years ago

Original comment by memono...@gmail.com on 16 Sep 2013 at 7:08