GithubHelp home page GithubHelp logo

mustafayuce33 / eibsuite Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 1.39 MB

Automatically exported from code.google.com/p/eibsuite

C++ 74.91% C 10.82% Makefile 1.25% C# 11.81% Objective-C 0.05% Lex 0.35% Yacc 0.71% Batchfile 0.07% Shell 0.03%

eibsuite's People

Contributors

yosig81 avatar

eibsuite's Issues

‘CString::CString(long int)’ cannot be overloaded on Ubuntu 10.04 LTS

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

Small issue in TimePeriod::toString()

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

Compilation fails on amd64

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.