http://quantlib.414.s1.nabble.com/inserting-new-class-in-quantlib-tp5546p5548.html
> Hi Piero,
>
> Try inserting a hard return after the #endif statement (hit the enter
> key).
>
> Toyin Akin.
>
>
>
>
>
> ------------------------------------------------------------------------
>
> > Date: Fri, 15 Feb 2008 11:11:49 +0100
> > From:
[hidden email]
> > To:
[hidden email]
> > Subject: [Quantlib-users] inserting new class in quantlib
> >
> > Hi all,
> > i'm a new user and i'm trying to insert and compile a new class in
> > quantlib.
> > I apologize for this newbie question:
> >
> > if i compile my class all work well but if i insert it in quantlib,
> > visual studio can't build the library giving me the following error:
> >
> >
> 1>d:\Quantlib\QuantLib-0.9.0\ql/indexes/inflationindexseasonality.hpp(52)
> > : fatal error C1004: unexpected end-of-file found
> > 1>inflationindex.cpp
> >
> 1>d:\Quantlib\QuantLib-0.9.0\ql/indexes/inflationindexseasonality.hpp(52)
> > : fatal error C1004: unexpected end-of-file found
> >
> > If i delete the following rows:
> >
> > #ifndef SEASONALITY_HPP (12)
> > #define SEASONALITY_HPP (12)
> > #endif (52)
> >
> > visual studio can compile and i'm able to use my class.
> > I can't find the reason of this error; anyone has any ideas?
> >
> > Thank you very much for help.
> > Bye
> >
> > Piero
> >
>
>
> ------------------------------------------------------------------------
> Sounds like? How many syllables? Guess and win prizes with Search
> Charades! <
http://www.searchcharades.com>
>
> __________ Informazione NOD32 2880 (20080215) __________
>
> Questo messaggio รจ stato controllato dal Sistema Antivirus NOD32
>
http://www.nod32.itDefy all challenges. Microsoft(R) Visual Studio 2008.