jed-users mailing list

[2002 Date Index] [2002 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: 0.99-16 pre-release available


Jacob (=Jouk) Jansen <joukj@xxxxxxxxxxxxxxxxxxx> wrote:
> On OpenVMS7.3 for Alpha I get the following compilation warning:
>
>CC /prefix=all/define=(FLOAT_TYPE,JED)/include=([-.-.slang.src]) MENU.c
>
>        m->flags |= MENU_ACTIVE;
>.......^
>%CC-W-BADANSIALIAS, This statement uses the type "struct declared without a
>  tag"
> to reference the same storage location as the statement at line number 1591
>  in
>file $DISK6:[JOUKJ.PUBLIC.JED.PRE-0_99-16.SRC]MENU.C;1, which uses the type
>  "str
>uct _Menu_Popup
>_Type".  This does not conform to the ANSI aliasing rules.
>at line number 1611 in file $DISK6:[JOUKJ.PUBLIC.JED.PRE-0_99-16.SRC]MENU.C;1

Try this purely cosmetic patch to menu.c:

--- menu.c~	Sat Sep  7 15:22:34 2002
+++ menu.c	Wed Oct  9 10:56:55 2002
@@ -25,7 +25,7 @@
 #include "menu.h"
 #include "colors.h"
 
-typedef struct
+typedef struct _Menu_Node_Type
 {
    char *name;
    int type;


Thanks,
--John


[2002 date index] [2002 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]