[fpc-devel] "Case statement does not handle all possible cases" Warning

Sven Barth pascaldragon at googlemail.com
Sun May 19 19:19:28 CEST 2019


Jonas Maebe <jonas at freepascal.org> schrieb am So., 19. Mai 2019, 13:29:

> On 19/05/2019 13:25, Sven Barth via fpc-devel wrote:
> > And don't get me started about ">>". That one is going to annoy me
> > enough once I add support for nested specializations -.-
>
> Current C++ standards requires a space between the two > signs for
> nested templates, so I think it would be fine if we were to require that
> as well. Although I supposed that would be Delphi-incompatible...
>

If with "current" you mean pre-C++11 then you are right. With C++11 they
explicitly redefined it so that ending the specialization takes precedence
over the operator.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190519/9b7e2b85/attachment.html>


More information about the fpc-devel mailing list