Share

Clint

Tracker: Bugs

5 does not build with g++-3.2 - ID: 724196
Last Update: Comment added ( nobody )

Hi,

This does not compile with g++-3.2. This is necessary for it
to be able to link with libraries built using g++-3.2 which is
becoming the standard on a lot of distributions

Shri


Shriram Shrikumar ( prince_shri ) - 2003-04-19 13:44

5

Open

None

Nobody/Anonymous

build

None

Public


Comments ( 2 )




Date: 2005-02-02 10:43
Sender: nobody

Logged In: NO

Same problem here.

The patch from stevan_white made it compile.


Date: 2003-05-18 23:39
Sender: stevan_white

Logged In: YES
user_id=577739

These changes made it compile (and work to some degree)
with gcc 3.2.2:

diff -r clint-0.1.2/lib/python/python.h
clint-0.1.2-new/lib/python/python.h
10c10
< #include <strstream>
---
> #include <sstream> // SW changed this
15c15,17
< #define STANDARD_LIBRARY_HAS_ITERATOR_TRAITS 1
---
> // SW changed this
> //#define STANDARD_LIBRARY_HAS_ITERATOR_TRAITS 1
> #define STANDARD_LIBRARY_HAS_ITERATOR_TRAITS 0
20a23
>
diff -r clint-0.1.2/lib/python/seqbase_iter.cc
clint-0.1.2-new/lib/python/seqbase_iter.cc
1a2
> #include <iostream> // SW added
113c114
<
---
> // SW ostrstream seems to be gone from std libraries.
What is replacement?
116c117,118
< std::ostrstream oss;
---
> // std::ostrstream oss;
> std::ostringstream oss;
119a122
>
diff -r clint-0.1.2/src/clint.cc clint-0.1.2-new/src/clint.cc
28c28
< #include <iostream.h>
---
> #include <iostream> // SW changed
diff -r clint-0.1.2/src/input.cc clint-0.1.2-new/src/input.cc
24a25
> #include <iosfwd> // SW added
70a72
> using namespace std; // SW added



Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.