[ http://issues.apache.org/jira/browse/TUSCANY-459?page=all ]

Pete Robbins closed TUSCANY-459.
--------------------------------

    Fix Version/s: Cpp-M1
       Resolution: Fixed

patch applied

> [SDP for C++] Compile error in sdotest.cpp. integer constant is too large for 
> "long" type
> -----------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-459
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-459
>             Project: Tuscany
>          Issue Type: Bug
>          Components: C++ SDO
>    Affects Versions: Cpp-current
>         Environment: Redhat Linux Enterprise 4 on a Thinkpad
>            Reporter: Geoff Winn
>            Priority: Minor
>             Fix For: Cpp-M1
>
>         Attachments: TUSCANY-459.patch
>
>
> When compiling sdotest.cpp on Redhat Linux Enterprise 4 the following errors 
> occur.
> make[5]: Entering directory
> `/home/delfinoj/Tuscany/apache-repos/cpp/sdo/runtime/core/test'
> if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../runtime/core/test
> -I../../../runtime/core/src    -g -O2 -MT sdotest.o -MD -MP -MF
> ".deps/sdotest.Tpo" -c -o sdotest.o sdotest.cpp; \
> then mv -f ".deps/sdotest.Tpo" ".deps/sdotest.Po"; else rm -f
> ".deps/sdotest.Tpo"; exit 1; fi
> sdotest.cpp: In static member function `static int
> sdotest::conversiontest()':
> sdotest.cpp:1135: error: integer constant is too large for "long" type
> sdotest.cpp: In static member function `static int sdotest::maintest()':
> sdotest.cpp:2569: error: integer constant is too large for "long" type
> sdotest.cpp:2575: error: integer constant is too large for "long" type
> make[5]: *** [sdotest.o] Error 1
> The same code compiles without a problem on Windows XP and Redhat Linux 
> Enterprise 3.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to