[Therion] Fw: Bug#565049: therion: ftbfs with gcc-4.5
Martin Budaj
m.budaj at gmail.com
Fri Jan 15 22:38:45 CET 2010
On Fri, Jan 15, 2010 at 10:04 PM, Aaron Birenboim <aaron at boim.com> wrote:
> To be safe, I might just switch over to overloading this function.
> I'm pretty sure every compiler will like:
> - -------------------------------------------------------
> void thsvg(char * fname, int, legenddata ldata);
> inline void thsvg(char * fname, int i)
> {
> legenddata ldata;
> thsvg(fname,i,ldata);
> }
> - ----------------------------------------------------- in thsvg.h
Hi,
the default parameter value is actually not necessary (it is a remnant
of some weird testing, I guess -- this function is never called with 2
parameters), so simple
void thsvg(const char * fname, int, legenddata ldata);
is enough for header (similarly for cxx implementation). Will be fixed
in the sources.
Martin
More information about the Therion
mailing list