warning: unknown warning option '-Wno-deprecated-copy'
Kornel Benko
kornel at lyx.org
Sun Oct 11 20:58:42 UTC 2020
Am Sun, 11 Oct 2020 22:07:27 +0200
schrieb Jean-Marc Lasgouttes <lasgouttes at lyx.org>:
> Le 11/10/2020 à 21:06, Stephan Witt a écrit :
> >> What do you think of the attached patch? It tests the compiler behavior instead of
> >> relying on the version.
> >>
> >> With Apple clang on missing -Wno-deprecated-copy support it works.
> >
> > Oh, that was the wrong patch. The correct one is attached now.
>
> It is indeed a possibility. My idea was to separate completely clang
> from apple-clang and treat them as separate compilers. We should forget
> the idea that clang has something to do with apple-clang in terms of
> versions.
>
> Concerning testing features, this is nice, but I am not sure that the
> fact that -Wno-deprecated-copy is available means that it is useful. I
> have to think about it, but it could be the way to go, actually.
>
> JMarc
>
Maybe for all compilers? Instead of /dev/null as input (I suppose this is not existent on
Windows), any empty file could serve this purpose.
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201011/e26423d4/attachment.asc>
More information about the lyx-devel
mailing list