Re: Feedback on string-convert branch

Robin Gareus <[email protected]> Thu, 5 Jan 2017 15:24:40 +0100
Newsgroups gmane.comp.audio.ardour.devel
Message-ID <[email protected]>
On 01/05/2017 01:52 PM, John Emmas wrote:
> 
>>
>> On a slightly sour note - when I try to run the built executable it
>> immediately crashes at this line in function 'main()':-
>>
>>     l_msg = setlocale (LC_MESSAGES, NULL);
>>
>> but I guess that might be an unrelated problem?
>>
> Yes, that seems to be unconnected.  AFAICT, setlocale() doesn't support
> LC_MESSAGES in Windows (neither MinGW nor MSVC have it defined).  I
> guess this needs to get flagged up to Robin?

mingw supports it or maybe it's the libiconv-1.14, gettext-0.19.2 that
we use for windows builds.

Since I don't know the MSVC build-environment and build-dependencies
used there a quick-solution would be an #ifndef COMPILER_MSVC

ciao,
robin