Hi,
Daniel Rossberg has left the following comment at Compile with
-Wstrict-prototypes, fix warnings that ensue
http://www.google-melange.com/gci/task/view/google/gci2012/8131203:
I'm getting the following compilation errors
with standard CMake generated make files (no -Wstrict-prototypes):
/home/rossberg/Devel/brlcad/src/libdm/tcl.c: In
function 'dm_validXType_tcl':
/home/rossberg/Devel/brlcad/src/libdm/tcl.c:65:5: error: passing argument 1
of 'dm_validXType' discards 'const' qualifier from pointer target type
[-Werror]
/home/rossberg/Devel/brlcad/src/libdm/tcl.c:41:12: note: expected 'char *'
but argument is of type 'const char *'
/home/rossberg/Devel/brlcad/src/libdm/tcl.c:65:5: error: passing argument 2
of 'dm_validXType' discards 'const' qualifier from pointer target type
[-Werror]
/home/rossberg/Devel/brlcad/src/libdm/tcl.c:41:12: note: expected 'char *'
but argument is of type 'const char *'
Greetings,
The Google Open Source Programs Team
---
You are receiving this message because you are subscribed to Compile with
-Wstrict-prototypes, fix warnings that ensue.
To stop receiving these messages, go to:
http://www.google-melange.com/gci/task/view/google/gci2012/8131203.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
BRL-CAD Tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker