Open GoogleCodeExporter opened 8 years ago
Hi!
You can fix that by editing GLTools.cpp:
go to line 1234:
change
int iArgCount = va_arg(attributeList, int); // Number of attributes
to
iArgCount = va_arg(attributeList, int); // Number of attributes
and add
int iArgCount;
to the beginning of that function (e.g. line 1177)
I wonder though why one would use labels and gotos.
Original comment by kropf.th...@gmail.com
on 17 Nov 2010 at 1:15
That's exactly what the patch I attached does. As for using labels and gotos,
that's a fairly reasonable way of handling errors in C. More unusual in C++
with RAII, but in this case, RAII isn't being used, presumably because the
author didn't have the time or desire to wrap everything that would need to be
wrapped etc.
Original comment by syd...@gmail.com
on 17 Nov 2010 at 5:16
Oops, sorry. I didn't even SEE that patch. My bad!
Original comment by kropf.th...@gmail.com
on 18 Nov 2010 at 1:17
Fixed in revision r182.
Original comment by thomas.vdburgt@gmail.com
on 25 Nov 2010 at 10:24
Original issue reported on code.google.com by
syd...@gmail.com
on 30 Oct 2010 at 10:11Attachments: