This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
__seg_gs specifier in g++
- From: "J.W. Jagersma" <jwjagersma at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 25 Mar 2017 23:03:51 +0100
- Subject: __seg_gs specifier in g++
- Authentication-results: sourceware.org; auth=none
I'm trying to use the __seg_gs address space specifier in g++, but it
keeps telling me "__seg_gs does not name a type". Even the following
short snippet fails to compile:
int main()
{
#ifdef __SEG_GS
__seg_gs int* i;
#endif
}
Am I doing something wrong here? Any help would be appreciated.