cbeck88 / freetype-gl

Automatically exported from code.google.com/p/freetype-gl
Other
0 stars 0 forks source link

Add missing stdarg.h header for variable arguments in outline demo. #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When compiling the freetype-gl project under Fedora linux the compiler 
complaints about the missing stdarg.h header, that is required by the various 
variable argument macros in the outline demo.

The attached patch fixes this and removes the duplicate demo definition of 
demo-line-aa.

Original issue reported on code.google.com by adrian.b...@googlemail.com on 18 Feb 2012 at 2:31

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks I made the change but why did you remvove the demoe-line-aa from the 
list of demo ?

Original comment by Nicolas.Rougier@gmail.com on 19 Feb 2012 at 9:17

GoogleCodeExporter commented 9 years ago
When you look at the CMakeLists.txt there are two demo-line-aa targets, one has 
an attached comma (demo-line-aa,) but the source file is the same. This would 
create the same executable aside the output file name. I thought this wasn't 
worth a separate patch.

Original comment by adrian.b...@googlemail.com on 19 Feb 2012 at 2:39

GoogleCodeExporter commented 9 years ago
Your're right. Well done.
Just fixed it.

Original comment by Nicolas.Rougier@gmail.com on 19 Feb 2012 at 3:19