This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]


> Ever since this:
>         1997-10-31  Brendan Kehoe  <>
>         	* lex.c (FILE_NAME_NONDIRECTORY): Delete macro.
>                 (file_name_nondirectory): New function, doing the same
>                 as the macro.
>                 (set_typedecl_interface_info): Use it instead of the macro.
>                 (check_newline): Likewise.
>                 (handle_cp_pragma): Likewise.
> the macro FILE_NAME_NONDIRECTORY in gcc/config/vax/xm-vms.h seems to
> be unused.

My initial thought is the patch by Brendan Kehoe broke the VMS port.
The VMS port overrode the define for this macro because it needed
special handling to extract a file name.  The current version of
file_name_nondirectory in toplev.c is not appropriate for VMS.

Thus, we need instead to redefine the macro and change all calls to
file_name_nondirectory to fix the problem.  There are protos for
file_name_nondirectory in toplev.h and cp/cp-tree.h.  There are calls
in dwarf2out.c, cp/lex.c and cp/repo.c.  Unfortunately, I don't have
a VMS system to try it on.  Can you try this?

J. David Anglin                        
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]