This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This is a work in progress. In one sense, the patch is complete except for documenting the -munix= option. However, it's dangerous to use other than default for this option. The start file selection adds unix95.o or unix98.o when using UNIX 95 and 98, respectively. The sole function of these files is to provide a start of value for the int __xpg4_extended_mask. The supported values are: UNIX __xpg4_extended_mask 93 0 95 0xf 98 0x6f The mask value alters the behavior of various functions (e.g., wcsftime -- third argument changes from const char * to const wchar_t *). I'm trying to decide if further work is needed. If no one uses anything but the default values, there's no problem. However, library code that uses the xpg4 extended support really needs to save, set and restore the __xpg4_extended_mask when it uses functions affected by the mask value. I'm trying to decide whether this should be done automatically. However, the list is fairly long and it's a bit tricky to determine all the interactions. Comments? Dave -- J. David Anglin dave.anglin@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
Attachment:
pa-xpg4.d
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |