Hi,
javamonn has left the following comment at Compile with
-Wold-style-definition, fix warnings that ensue
http://www.google-melange.com/gci/task/view/google/gci2012/8114205:
Where do I submit?
Where can I submit the build log, and also a revised patch? I made a couple
tweaks to the patch, it wouldn't compile before apparently. As far as
termio, it has two functions in which the parameter types are system
dependent. In the old c fasion, it was defined:
static void
copy_Tio(to, from)
#ifdef BSD
struct sgttyb *to, *from;
#endif
#ifdef SYSV
struct termio *to, *from;
#endif
#ifdef HAVE_TERMIOS_H
struct termios *to, *from;
#endif
{
//function body
}
Now, im unsure as to how to convert this into a single method signature so
it doesn't throw a warning? I mean you could use a void pointer and just
cast it, but it still throws a warning. Could a union possibly be used for
this?
Greetings,
The Google Open Source Programs Team
---
You are receiving this message because you are subscribed to Compile with
-Wold-style-definition, fix warnings that ensue.
To stop receiving these messages, go to:
http://www.google-melange.com/gci/task/view/google/gci2012/8114205.
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of 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_122812
_______________________________________________
BRL-CAD Tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker