#8 compile errors w gcc 3.x

closed-fixed
nobody
None
5
2003-04-12
2003-04-02
No

hey, i had to fix the code in several places while building (from source, on linux, gcc-3.2), here's the list.

src/GState.cpp:315
removed = 0 (default value) from last argument, because compiler gets that from the header file already, and thus complains.

src/Machine.cpp:35
same stuff, 2 default arguments.

src/MainWindow.cpp, pics/select.xpm
"select" as the array name in the .xpm is a well known system call, which get included indirectly into MainWindow.cpp, thus name conflict.

src/Project.cpp:29
same as 1st, 2 default arguments

Discussion

  • Stefan Duffner

    Stefan Duffner - 2003-04-03

    Logged In: YES
    user_id=355503

    Thanks a lot.
    The 'select' bug has been fixed a while back in the CVS.
    The default arguments in the cpp files are of course very stupid, but my
    compiler (gcc 2.95.3) doesn't complain, so it's helpful for me that someone
    indicates the files and line numbers, because I'm not sure when I will upgrade
    to version 3.x and looking this up by hand is cumbersome.
    Anyway thanks and look out for the next release (0.41) which will come out
    soon (only a bug fix release and minor feature enhancements).

     
  • Stefan Duffner

    Stefan Duffner - 2003-04-12
    • status: open --> closed-fixed
     

Log in to post a comment.