Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: What should LC_MESSAGES be?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What should LC_MESSAGES be?



On Thu, 15 Aug 2002, Susan G. Conger wrote:
>\When you were compiling the nl_types stuff did you get the following
>error:
>
>msgcat.c: In function `catopen':
>msgcat.c:87: `LC_MESSAGES' undeclared (first use in this function)
>msgcat.c:87: (Each undeclared identifier is reported only once
>msgcat.c:87: for each function it appears in.)
>
>What value should LC_MESSAGES be defined to? I got an answer of 9 from
>Ben and
>soemone looked on Linux and they said it was defined to 5.

If you check out the patch in the Open Darwin bug report I mentioned
earlier you'll see it adds a definition of it to /usr/include/locale.h. On
Darwin, 6 is an appropriate value.

>Also what does that number signify? What is LC_MESSAGES?

It's just an identifier to distinguish it from the other LC_* macros in
locale.h.

Ian
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >What should LC_MESSAGES be? (From: "Susan G. Conger" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.