Menu

#73 will not build with gcc 3.x

open
3
2003-11-17
2002-08-16
Anonymous
No

Attempting to build w3juke with gcc v3.1.1 causes the
compiler to cough up a lung and spit it out, steaming
and bleeding, into the local directory.

Ok, not really.

But it will not compile with gcc 3.1.1.

Discussion

  • Chris P. Ross

    Chris P. Ross - 2003-02-04
    • assigned_to: nobody --> cross
     
  • Chris P. Ross

    Chris P. Ross - 2003-02-04

    Logged In: YES
    user_id=12814

    This is due to a change in the C++ standard. The "standard"
    symbols are no longer available in the global namespace.
    They are in the std:: namespace.

    I have a patch that fixes this by putting a "std::" in front
    of all symbols. Unless it's determined that this is
    *wrong*, and the right thing to do is put a:

    using namespace std::foo;

    for each symbol <foo>, then I'll commit this patch. Let me
    know.

     
  • Chris P. Ross

    Chris P. Ross - 2003-11-17
    • summary: will not build with gcc 3.1.1 --> will not build with gcc 3.x
    • priority: 5 --> 3
     
  • Chris P. Ross

    Chris P. Ross - 2003-11-17

    Logged In: YES
    user_id=12814

    Hey Josh, did you have an opinion on how the source should
    be updated for gcc 3.x? I know I fixed it once (I can
    prolly find that source), by adding "std::" in front of
    needed symbols. If you'd prefer, I can go back and just
    "using namespace std::" for each of them. I forget the
    syntax for doing that, but I know there is one.

    Josh? You looking at any of this anymore?

     

Log in to post a comment.

MongoDB Logo MongoDB