Re: [R-pkg-devel] [Re] warning: type of ‘zhpevx_’ does not match original declaration [-Wlto-type-mismatch]

2020-12-21 Thread Tomas Kalibera
gt; *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-type-mismatch] > On 12/18/2

Re: [R-pkg-devel] [Re] warning: type of ‘zhpevx_’ does not match original declaration [-Wlto-type-mismatch]

2020-12-18 Thread Pierre Lafaye de Micheaux
.@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 zhpev

Re: [R-pkg-devel] [Re] warning: type of ‘zhpevx_’ does not match original declaration [-Wlto-type-mismatch]

2020-12-18 Thread Tomas Kalibera
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

Re: [R-pkg-devel] [Re] warning: type of ‘zhpevx_’ does not match original declaration [-Wlto-type-mismatch]

2020-12-17 Thread Ivan Krylov
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

Re: [R-pkg-devel] [Re] warning: type of ‘zhpevx_’ does not match original declaration [-Wlto-type-mismatch]

2020-12-17 Thread Pierre Lafaye de Micheaux
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 find a solution. Even

[R-pkg-devel] [Re] warning: type of ‘zhpevx_’ does not match original declaration [-Wlto-type-mismatch]

2020-12-17 Thread Pierre Lafaye de Micheaux
p; delete[] Cz; delete[] Cwork; } } #endif From: Tomas Kalibera Sent: Tuesday, 15 December 2020 23:01 To: Pierre Lafaye de Micheaux Cc: r-package-devel@r-project.org Subject: Re: [R-pkg-devel] warning: type of ‘zhpevx_’ does not match original de