#8 readtags.h prototypes erroneous


There are a few function prototypes in readtags.h that
do not match the function definition given in readtags.c.

Here is the general problem:

extern tagResult tagsFindNext(tagEntry *entry);

tagResult tagsFindNext(tagEntry *const entry)


  • David Harrison Jr.

    diff file that corrects this issue

  • Darren Hiebert

    Darren Hiebert - 2001-12-15

    Logged In: YES

    The "const" declaration is acceptable code to all compilers
    I have encountered. It also suprises me that you should see
    a warning for this bug not throughout the code, as "const"
    arguments appear all over the place. I need to know what
    system/compiler you are using.

  • David Harrison Jr.

    Logged In: YES

    This was compiled using IRIX 5.3's standard "cc" compiler.

  • Darren Hiebert

    Darren Hiebert - 2001-12-22
    • assigned_to: nobody --> dhiebert
    • status: open --> closed-wont-fix
  • Darren Hiebert

    Darren Hiebert - 2001-12-22

    Logged In: YES

    These warnings are due to improper handling of "const"
    qualifiers by the IRIX 5.x compiler. This problem does not
    exist in IRIX 6.5 compilers. Because of the value of using
    these "const" qualifiers, I do not wish to remove them from
    the source code.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks