The newer versions of gcc/g++ have stricter checking breaking the
current source for IMS bench (see http://blog.flameeyes.eu/tag/cxx). The
modifications (listed below) were needed to successfully compile on the
following platform.

Test platform:
Ubuntu Linux (karmic) 64-bit smp
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8)

Modifications required for source files:
1. New gcc/g++ issues (stricter type checking)
Affects sipp.cpp and call.cpp - const char* may not be cast to char*
without either
a) making char* const char*
or
b) casting as const_cast<char*>(...)
Note: Several places in both files (just run make and it'll list the
lines).

2. File except.hpp should include <cstdio> for the vsprintf reference


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to