Is something magic happening here or could I change this?

#ifdef NSCAP_FEATURE_FACTOR_DESTRUCTOR
      NS_EXPORT ~nsCOMPtr_base();
#else
      // Allow debug builds to link with optimized versions of
nsCOMPtr-using
      // plugins (e.g., JVMs).
      NS_EXPORT ~nsCOMPtr_base() { }
#endif

to.....

#ifdef NSCAP_FEATURE_FACTOR_DESTRUCTOR
      // Allow debug builds to link with optimized versions of
nsCOMPtr-using
      // plugins (e.g., JVMs).
      NS_EXPORT ~nsCOMPtr_base();
#else
      ~nsCOMPtr_base() { }
#endif

Doesn't the comment go with the first case?
The NS_EXPORT on the second case is extraneous and may be causing a DLL
linkage

--
Jon Smirl
[EMAIL PROTECTED]





Reply via email to