Compiler error: "long long" seems to be unknown
Posted: 29 Jan 2010, 08:41
Hi, all
I just downloaded the current svn version and tried to build it with the Borland C++ 5.5.1 compiler (should be the newest one which is freely available) but all I get after executing make is:
Line 92 and 93 of defines.h are:
so may there be a problem with "long long" for the bcc32 compiler?
And maybe is it possible to use gcc instead (which I'm more used to)?
Or is there a better bcc32 version which I missed?
I just downloaded the current svn version and tried to build it with the Borland C++ 5.5.1 compiler (should be the newest one which is freely available) but all I get after executing make is:
Code: Select all
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
if not exist .\obj mkdir .\obj
bcc32 -Od -Vx -Ve -X- -r- -a8 -b- -k -y -v -vi- -c -tW -tWM -w-par -D_DEBUG;BCI_TOOL;NO_STRICT;_NO_VCL;SIGNAL_BACK_COMPAT
-I"..\..\..\shared\modules\signalsource";""..\..\..";"..\..\..\shared";"..\..\..\shared\config";"..\..\..\shared\accessors";"..\..
\..\shared\bcistream";"..\..\..\shared\fileio";"..\..\..\shared\types";"..\..\..\shared\modules";"..\..\..\shared\utils";"..\..\..
\shared\utils\Expression"";"..\..\..\extlib\matlab";"..\..\..\extlib\math";"..\..\..\extlib\fftlib";"C:\Borland\BCC55\Bin\..\inclu
de";"C:\Borland\BCC55\Bin\..\include\vcl" -c -o.\obj\bci_stubs.obj .\bci_stubs.cpp
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
.\bci_stubs.cpp:
Error E2176 ..\..\..\shared\accessors\ParamRef.h 59: Too many types in declaration
Error E2238 ..\..\..\shared\accessors\ParamRef.h 60: Multiple declaration for 'ParamRef::operator long() const'
Error E2344 ..\..\..\shared\accessors\ParamRef.h 55: Earlier declaration of 'ParamRef::operator long() const'
Error E2176 ..\..\..\shared\accessors\ParamRef.h 61: Too many types in declaration
Error E2238 ..\..\..\shared\accessors\ParamRef.h 62: Multiple declaration for 'ParamRef::operator unsigned long() const'
Error E2344 ..\..\..\shared\accessors\ParamRef.h 57: Earlier declaration of 'ParamRef::operator unsigned long() const'
Error E2176 ..\..\..\shared\defines.h 92: Too many types in declaration
Error E2176 ..\..\..\shared\defines.h 93: Too many types in declaration
*** 8 errors in Compile ***
Code: Select all
typedef unsigned long long uint64;
typedef signed long long sint64;
And maybe is it possible to use gcc instead (which I'm more used to)?
Or is there a better bcc32 version which I missed?