Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#27 Compiling with SunPro CC

open
None
3
2004-02-20
2003-09-11
Jean Lee
No

[Sorry, I tried to find the old bug report to append
but it's dissappeared, life is too short for systems
like this.]

>Comment By: Kevin Atkinson (kevina)
Date: 2003-09-10 22:47

Message:
Logged In: YES
user_id=6591

I don't really consider this a bug as I don't support
SunPro
6.2 C++. If you can get it to compile great. Otherwise I
will consider it a feature request.

Kevin,

It's not a question of supporting a particular
compiler, both gcc and SunProC are respected products.
The point is that different compilers are tolerant in
different ways. You should support good code that meets
proper standards.

When a particular compiler issues a warning message it
is generally for a reason. In this case it is telling
you that you have masked values, have functions that
don't return and have constants not initialised and
have functions that are not accessible.

Perhaps through luck and redundency in the code this
doesn't matter. Perhaps the gcc compiler is deficient
in not telling you. I don't know or really care, I
offer to help by pointing out these problems with the
program. Correcting these things can only improve aspell.

Discussion

  • Jean Lee
    Jean Lee
    2003-09-11

     
    Attachments
  • Kevin Atkinson
    Kevin Atkinson
    2003-09-11

    • assigned_to: nobody --> kevina
     
  • Kevin Atkinson
    Kevin Atkinson
    2003-09-11

    Logged In: YES
    user_id=6591

    Or the problem could be short commings in the compiler.

    Like I said patches welcome.

     
  • Jean Lee
    Jean Lee
    2003-09-12

    Logged In: YES
    user_id=756188

    > Or the problem could be short commings in the compiler.

    And you could be taking the p*ss.

    Try with gcc with -Wall -Werror
    For good measure throw in -ansi and -pedantic

    > Like I said patches welcome.

    Sorry, I do not have time to clean up what appear to be
    programming style problems in other people's programs.

    Don't read me wrong, I'm not trying to be unhelpful but I
    think this is best done (and can be done more quickly) by
    the code author.

     
  • Kevin Atkinson
    Kevin Atkinson
    2004-02-20

    • priority: 5 --> 3
     
  • Kevin Atkinson
    Kevin Atkinson
    2004-02-20

    Logged In: YES
    user_id=6591

    Aspell 0.50.5 has some improvment in this area.