[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#671623: override.cc fails to compile due to apti18n.h definitions conflicting with standard headers



On 5 May 2012 16:42, David Kalnischkies <kalnischkies+debian@gmail.com> wrote:
> On Sat, May 5, 2012 at 2:02 PM, Marko Lindqvist <cazfi74@gmail.com> wrote:
>> apti18n.h has comment about how each source file should include it
>> last. That's for a reason, as override.cc compilation failed to find
>> setlocale() declaration from locale.h when included after apti18n.h.
>> Attached patch moves apti18n.h include to be last one.
>
> Out of interest: Which compiler is that?

 I don't think this depends so much on compiler (gcc 4.6), but overall
setup. I encountered this compilation failure while trying to upgrade
apt version used by OpenEmbedded. I think that the failing pass had
NLS disabled, which leads quite differently behaving apti18n.h than
what one usually gets.


 - ML



Reply to: