Hi,
javamonn 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:
Well...
Well, this task has taken me far longer than I had originally anticipated.
I started with compiling with the -Wstrict-prototypes flag, and saved the
warnings to a log. I then used a script to go through the log and change
all the places where a warning was thrown and added in a void into the
prototype, since I figured these were the vast majority of cases and that I
could go back and do the final edits by hand.
For some reason, the vast majority of the cases are not that the prototypes
lack a void in the definition, It seems like whoever coded some of these
header files just got lazy. I'm having to go through and grep each function
to find the original signature so I can correctly write the prototype. Note
that this is certainly not hard work, just extremely tedious and time
consuming.
I've spent well over 10 hours on this so far, and I've worked my way up to
~70% compile. I don't think I'll be able to finish it in time with gci
ending tommorow, but I'd be happy to submit what I have now as a proof of
concept or whatever, and then submit the whole patch to the tracker later
in the week. Let me know what you want me to do.
Thanks,
Daniel
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