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: [patch]: Problem in libgcov.c (__gcov_execve) for target x86_64-pc-mingw32


On 10/2/07, Kai Tietz <Kai.Tietz@onevision.com> wrote:
> Hi,
>
> An interesting issue is that there is problem related that in c case the
> type char * const[] is not equivalent to type char *const *. Is this done
> by intention ?
> For the w64 target the parameter of exec(??) methods are using 'const char
> * const *' but gcc uses the type 'char * const []' for argp and envp
> arguments. In earlier versions the types were equivalent.
>
> See other report: http://gcc.gnu.org/ml/gcc-help/2007-10/msg00008.html
>
> So I suggest the following patch for w64 in libgcov.c:
>
> ChangeLog:
>
> 2007-10-02  Kai Tietz  <kai.tietz@onevision.com>
>         * libgcov.c: (__gcov_execve): Special case for x86_64-pc-mingw32.
>
>

Has anyone reviewed this yet?


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