-
> *From:* Tomas Kalibera
> *Sent:* Friday, 18 December 2020 19:14
> *To:* Pierre Lafaye de Micheaux ; Ivan Krylov
>
> *Cc:* R Package Devel
> *Subject:* Re: [R-pkg-devel] [Re] warning: type of �zhpevx_� does not
> match original declaration [-Wlto-ty
lib...@gmail.com>;
Prof Brian Ripley <mailto:rip...@stats.ox.ac.uk>; R
Package Devel
<mailto:r-package-devel@r-project.org>
Subject: Re: [R-pkg-devel] [Re] warning: type of ‘zhpevx_’ does not match
original declaration [-Wlto-type-mismatch]
Dear Pierre L.,
I think that the
ns (but does not include the complex type).
Best,
Tomas
>
> Have a nice day.
>
> Kind regards,
> Pierre
>
> *From:* Ivan Krylov
> *Sent:* Friday, 18 December 2020 18:16
> *To:* Pierre Lafaye de Micheaux
&g
work.
Have a nice day.
Kind regards,
Pierre
From: Ivan Krylov
Sent: Friday, 18 December 2020 18:16
To: Pierre Lafaye de Micheaux
Cc: Tomas Kalibera ; Prof Brian Ripley
; R Package Devel
Subject: Re: [R-pkg-devel] [Re] warning: type of �zhpevx_� does not match
Dear Pierre L.,
I think that the zhpevxC wrapper, as written, may result in undefined
behaviour:
>const char *JOBZ = jobz[0];
>delete[] JOBZ;
>delete[] Cap;
This could work okay, depending on how the rest of the package is
written, but in general, it is considered a bad idea for li
day, 18 December 2020 16:15
To: Tomas Kalibera
Cc: Prof Brian Ripley ; R Package Devel
Subject: [R-pkg-devel] [Re] warning: type of ‘zhpevx_’ does not match original
declaration [-Wlto-type-mismatch]
Dear Tomas,
Thank you very much for your feedback. This was really helpful and helped me to
Dear Tomas,
Thank you very much for your feedback. This was really helpful and helped me to
find a solution. Even if it is not entirely satisfactory to me (in the sense
that I now create new extra pointers which will take unnecessary space in
memory), at least the LTO errors are not displayed a