Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#565 compiling errors

development
closed-fixed
None
9
2006-11-22
2006-11-07
Anonymous
No

Just noticed there were two compiling errors. Don't
know if this may cause any potential problems.

---------------------------------------

NEdit release of Aug 20, 2004

Built on: Solaris, Sparc, Sun Studio C
Built at: Nov 7 2006, 13:49:03
With Motif: 2.1.0 [@(#)Motif Version 2.1.0]
Running Motif: 2.1 [unknown]
Server: The X.Org Foundation 60802000
Visual: 24-bit TrueColor (ID 0x21, Default)
Locale: C

-----------------------------------------

/opt/SUNWspro/bin/cc -c -I../Microline -I../Xlt -O
-I/usr/openwin/include -I/opt/SUNWmotif/include
-DUSE_DIRENT -DNO_XMIM -DREPLACE_SCOPE -o preferences.o
preferences.c
"preferences.c", line 5038: warning: argument #1 is
incompatible with prototype:
prototype: pointer to char :
"/usr/include/Xm/Xm.h", line 1555
argument : pointer to const char

/opt/SUNWspro/bin/cc -c -I../Microline -I../Xlt -O
-I/usr/openwin/include -I/opt/SUNWmotif/include
-DUSE_DIRENT -DNO_XMIM -DREPLACE_SCOPE -o interpret.o
interpret.c
NOTE: Don't worry about 'command not found' errors here
unless you have changed the parse.y file.
bison -o parse.c parse.y || ( yacc parse.y && mv
y.tab.c parse.c ) || \ cp parse_noyacc.c parse.c
M4sugar requires GNU M4. Install it before installing
M4sugar or
set the M4 environment variable to its path name.Broken
Pipe
M4sugar requires GNU M4. Install it before installing
M4sugar or
set the M4 environment variable to its path name.Broken
Pipe

Discussion

  • Logged In: NO

    and under linux, the error message is:

    preferences.c(5038): warning #167: argument of type "const
    char *" is incompatible with parameter of type "char *"
    XmString s1 = XmStringCreateSimple(label);

     
  • Thorsten Haude
    Thorsten Haude
    2006-11-08

    • milestone: --> development
    • priority: 5 --> 9
    • assigned_to: nobody --> yooden
    • status: open --> open-accepted
     
  • Logged In: NO

    It looks there is aleady a fix according to "Resolution: (?)
    Accepted", but I can't find it in the CVS.

     
  • Logged In: NO

    It looks there is aleady a fix according to "Resolution: (?)
    Accepted", but I can't find it in the CVS.

     
  • Scott Tringali
    Scott Tringali
    2006-11-09

    Logged In: YES
    user_id=11321

    These look like warnings to me, not errors.

    The only error I see is that bison or yacc seems to be
    installed improperly and won't run.

     
  • Thorsten Haude
    Thorsten Haude
    2006-11-09

    Logged In: YES
    user_id=119143

    @nobody: "Accepted" means that the bug is acknowledged to
    exist; what you are looking for is "Fixed".

    @Scott: Yeah, nothing bad, but easily fixed. I'll commit it
    on the weekend.

     
  • Logged In: NO

    Yes, the first one is just a warning. However, some
    compiliers may think it is error--if you search the warning
    message on the internet you may find in some similiar cases
    the SGI compiler (if I remeber correctly) treated this kind
    of conversion as a error.

     
  • Thorsten Haude
    Thorsten Haude
    2006-11-22

    • status: open-accepted --> closed-fixed