mustafayuce33 / eibsuite Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/eibsuite
Automatically exported from code.google.com/p/eibsuite
Hi,
I got the following error when building the lib on Ubuntu 10.04 LTS 64Bit:
Building EIBStdLib
make all -C "/home/michael/eibsuite/EIBStdLib/linux" CPP_COMPILER="g++"
C_COMPILER="gcc" CPP_LINKER="g++" C_LINKER="gcc" ARCH=X86
make[1]: Entering directory `/home/michael/eibsuite/EIBStdLib/linux'
Building file: ../src/Base64.cpp
Invoking: GCC C++ Compiler
g++ -I"../include" -I"../include/xml" -I"../../jtc/include" -DX86 -O0 -g3 -Wall
-c -fmessage-length=0 -MMD -MP -MF"Base64.d" -MT"Base64.d" -o"Base64.o"
"../src/Base64.cpp"
In file included from ../include/Base64.h:5,
from ../src/Base64.cpp:1:
../include/CString.h:69: error: ‘CString::CString(long int)’ cannot be
overloaded
../include/CString.h:65: error: with ‘CString::CString(int64)’
../include/CString.h:240: error: ‘CString& CString::operator+=(const
int64&)’ cannot be overloaded
../include/CString.h:225: error: with ‘CString& CString::operator+=(const
long int&)’
../include/CString.h:245: error: ‘CString& CString::operator+=(const
uint64&)’ cannot be overloaded
../include/CString.h:235: error: with ‘CString& CString::operator+=(const
long unsigned int&)’
make[1]: *** [Base64.o] Error 1
make[1]: Leaving directory `/home/michael/eibsuite/EIBStdLib/linux'
make: *** [EIBStdLib] Error 2
Original issue reported on code.google.com by [email protected]
on 17 Jan 2012 at 11:35
I've tested the PVS-Studio analyzer with some of the projects from here. While
analyzing this project I've found some warnings and decided to mention it. Hope
it will come in handy.
The general-purpose analyzer generated these warning:
V517 The use of 'if (A) {...} else if (A) {...}' pattern was detected. There is
a probability of logical error presence. GSM gsm_sms_codec.cc 175
string TimePeriod::toString() const
{
...
if (_relativeTime <= 143)
os << ((int)_relativeTime + 1) * 5 << _(" minutes");
else if (_relativeTime <= 167)
os << 12 * 60 + ((int)_relativeTime - 143) * 30 << _(" minutes");
else if (_relativeTime <= 196)
os << (int)_relativeTime - 166 << _(" days");
else if (_relativeTime <= 143)
os << (int)_relativeTime - 192 << _(" weeks");
...
}
In this code, the 'os << (int)_relativeTime - 192 << _(" weeks");' will never
get control.
Original issue reported on code.google.com by [email protected]
on 9 Jan 2011 at 7:16
Hi,
building fails on my 64bit Ubuntu 11.04 with the following output:
Building target: libjtc.so
Invoking: GCC C++ Linker
g++ -shared -o"libjtc.so" Cond.o Monitor.o Mutex.o RWMutex.o Semaphore.o Sync.o
TSS.o TSSManager.o Thread.o ThreadGroup.o Version.o -lpthread
/usr/bin/ld: Cond.o: relocation R_X86_64_32 against `.rodata' can not be used
when making a shared object; recompile with -fPIC
Cond.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libjtc.so] Error 1
make[1]: Leaving directory `/home/yves/projects/eibsuite-read-only/jtc/linux'
make: *** [jtc] Error 2
Original issue reported on code.google.com by yglodt
on 23 Jul 2011 at 10:46
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.