On 20 March 2012 05:16, Stephen Tigner <[email protected]> wrote:
> And then the make would fail. After poking around for a bit, I found
> out that constant_manager.cc included <lttoolbox/compression.h>, which
> in turn included <cstdio>. However, constant_manager.h did not include
> <cstdio>. Adding an include for <cstdio> to constant_manager.h fixed
> the issue, and it was able to compile. I don't remember having an
> issue like that before, but apparently the g++ I'm using in cygwin
> isn't accepting the reference to FILE in constant_manager.h w/o the
> explicit <cstdio> include.  Would that break it for others to add that
> include? (I don't anticipate so, but wanted to make sure.)

Added in r36859.

stdio.h was traditionally a 'default' include, but newer compilers are
getting to be stricter and stricter.

-- 
<Sefam> Are any of the mentors around?
<jimregan> yes, they're the ones trolling you

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to