extern template + /Za

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Is there a way to enable *just* the extern template processing when
compiling with /Za?

Thanks!
 
Is there a way to enable *just* the extern template processing when
compiling with /Za?

/Za disables non-standard language extensions. There is no way that I know
of to er-enable features one by one.

--

Kind regards,
Bruno van Dooren
(e-mail address removed)
Remove only "_nos_pam"
 
Sean Connery said:
Hi,

Is there a way to enable *just* the extern template processing when
compiling with /Za?
For now, VC++ does NOT support "extern" on templates, whatever compiler
switches you use or not (and it is not obvious wether it will support it in
a forseeable future).

Arnaud
MVP - VC
 
Arnaud said:
"Sean Connery" <[email protected]> a écrit dans
le message de (e-mail address removed)...
For now, VC++ does NOT support "extern" on templates, whatever
compiler switches you use or not (and it is not obvious wether it
will support it in a forseeable future).

You are probably thinking about export, which isn't supported.

Extern, on the other hand, is an extension which is of course disabled by
/Za (disable extensions). And no, I don't know how to select individual
extensions.


Bo Persson
 
Bo Persson said:
You are probably thinking about export, which isn't supported.

Oups, sorry, my bad! So much for posting when you haven't slept of all night
;-)

Arnaud
MVP - VC
 
Back
Top