On Wed, 2010-03-24 at 11:42 -0700, Nathan Abbott wrote:
> There has been a problem with using QuantLib with .Net Framework.
> [...] The better solution is to place the singleton class under the
> preprocessor "pragma managed" and get rid of lines 69-70.
Thanks, Nathan. Does the pragma have any effects when compiling in the
usual, no-.Net way? Also, is there any preprocessor define that can
tell us we're compiling for .Net?
Thanks,
Luigi
--
The rule on staying alive as a forecaster is to give 'em a number or
give 'em a date, but never give 'em both at once.
-- Jane Bryant Quinn
|