This is the mail archive of the gcc-patches@gcc.gnu.org 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]
Other format: [Raw text]

Re: Convert f77 to use opts.c.


Neil Booth <neil@daikokuya.co.uk> writes:

> Andreas Jaeger wrote:-
>
>> > What were you linking?  The C front end?  I've just done it from a
>> > clean build with no patches.
>> 
>> ada:
>
> Andreas, can you test this and apply whichever bit you need?
> I can't test it as I have to dash out.  I'm really sorry about this.
>
> Neil.
>
> ada:
> 	* Make-lang.in: Update.
> 	* misc.c: Include opts.h. Define cl_options_count and cl_options.

This gives:
/cvs/gcc/gcc/ada/misc.c:83: warning: array `cl_options' assumed to have one element

> Index: ada/misc.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/ada/misc.c,v
> retrieving revision 1.49
> diff -u -p -b -r1.49 misc.c
> --- ada/misc.c	7 Jun 2003 11:10:41 -0000	1.49
> +++ ada/misc.c	8 Jun 2003 10:12:03 -0000
> @@ -74,10 +74,14 @@
>  #include "ada-tree.h"
>  #include "gigi.h"
>  #include "adadecode.h"
> +#include "opts.h"
>  
>  extern FILE *asm_out_file;
>  extern int save_argc;
>  extern char **save_argv;
> +
> +const unsigned int cl_options_count;
> +const struct cl_option cl_options[];

I changed this to [1]

And will commit the ada patch now.

Thanks for taking care of the rest,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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