[ quantlib-Bugs-2723127 ] compilation error in DiscreteHedging.cpp on Linux

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ quantlib-Bugs-2723127 ] compilation error in DiscreteHedging.cpp on Linux

SourceForge.net
Bugs item #2723127, was opened at 2009-03-31 15:39
Message generated for change (Settings changed) made by anuya
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=2723127&group_id=12740

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
>Priority: 9
Private: Yes
Submitted By: anuya (anuya)
Assigned to: Nobody/Anonymous (nobody)
Summary: compilation error in DiscreteHedging.cpp on Linux

Initial Comment:
Operating System: Fedora
Compiler: gcc 4.2.4
On compiling the DiscreteHedging.cpp file, following errors were found:
DiscreteHedging.cpp:67: error: ‘QuantLib’ is not a namespace-name
DiscreteHedging.cpp:67: error: expected namespace-name before ‘;’ token
DiscreteHedging.cpp:85: error: ‘Option’ has not been declared
DiscreteHedging.cpp:85: error: expected `)' before ‘type’
DiscreteHedging.cpp:129: error: ‘Size’ has not been declared
DiscreteHedging.cpp:129: error: ‘Size’ has not been declared
DiscreteHedging.cpp:131: error: ‘Time’ does not name a type
DiscreteHedging.cpp:132: error: ‘PlainVanillaPayoff’ does not name a type
DiscreteHedging.cpp:133: error: ‘Real’ does not name a type
DiscreteHedging.cpp:134: error: ‘Volatility’ does not name a type
DiscreteHedging.cpp:135: error: ‘Rate’ does not name a type
DiscreteHedging.cpp:136: error: ‘Real’ does not name a type
DiscreteHedging.cpp:142: error: expected template-name before ‘<’ token
DiscreteHedging.cpp:142: error: expected `{' before ‘<’ token
DiscreteHedging.cpp:142: error: expected unqualified-id before ‘<’ token


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=2723127&group_id=12740

------------------------------------------------------------------------------
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev