This is the mail archive of the gcc-bugs@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]

Re: `volatile' undeclared in class/function template.


> the following code generates a compile time error:

Jose,

Thanks for your bug report. I believe this is a known bug: "asm
volatile" statements don't work inside templates. This is fixed in the
mainline.  Apparently, it won't be fixed for gcc 2.95.2.

Hope this helps,
Martin

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]