Find the answer to your Linux question:
Results 1 to 3 of 3
Hi! I am trying to compile the source for a music program and get errors. The README says that the source compile error free with gcc 3.x, I have gcc4. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    pir
    pir is offline
    Just Joined!
    Join Date
    Aug 2005
    Posts
    13

    version of gcc when compiling source?


    Hi!

    I am trying to compile the source for a music program and get errors. The README says that the source compile error free with gcc 3.x, I have gcc4.

    So does this mean that I can't compile the source, or is there an option I can use to tell gcc to act as if it were gcc3.x?
    If there isn't any options like this, how am one supposed to compile source that use old compilers?
    Do I need to have several versions of the compilators on my computer?


    (I'm using SUSE10 if that makes any difference)
    /pir

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Try compiling it. If it works, great. If not, then you can worry about whether or not you need another version. It may not matter.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  3. #3
    pir
    pir is offline
    Just Joined!
    Join Date
    Aug 2005
    Posts
    13
    The reason is that I'm trying to install a program called rosegarden and when I compile it I get a lot of warnings and after a while an error and then the compilation stops.

    The error looks like this:
    Colour.C:166: error: explicit qualification in declaration of `Rosegarden::Colour Rosegarden::getCombinationColour(const Rosegarden::Colour&, const Rosegarden::Colour&)'

    I'm not sure, but I suppose this is because I have a newer compiler. But maybe it's because of missing package or something. I have never got an error like this, but I'm not exactly a c++god.


    The warnings look like this (if anyone intrested):
    cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++

    So how do people handle this kind of situations?
    /pir

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •