#6 Incompatible pointers assigned

closed-wont-fix
nobody
None
5
2001-12-22
2001-12-13
No

An assignment generates a warning. (as in eiffel.c line
980)

The "parserInitialize" type needs to be adjusted so
that it accurately matches the actual prototype of the
functions that are implicitly converted to that type.

Discussion

  • David Harrison Jr.

    patch to fix this "bug"

     
  • Darren Hiebert

    Darren Hiebert - 2001-12-15

    Logged In: YES
    user_id=38016

    Can you please tell me what compiler is generating a warning
    for this? This is completely acceptable code. The "const"
    declaration only affects the function so defined and has no
    bearing whatsoever upon the caller.

     
  • David Harrison Jr.

    Logged In: YES
    user_id=138003

    This was generated by IRIX 5.3's standard "cc" compiler.

     
  • Darren Hiebert

    Darren Hiebert - 2001-12-22

    Logged In: YES
    user_id=38016

    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.

     
  • Darren Hiebert

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

Log in to post a comment.