[Debian GNUstep maintainers] Bug#957295: New GCC bug

Richard Frith-Macdonald rfm at gnu.org
Fri Apr 17 12:43:15 BST 2020


I noticed this issue, and thought it might be useful to point out that this is clearly a new compiler bug.

From the first fatal error in the full log:

NSGraphicsContext.m: In function ‘+[NSGraphicsContext(Private) _initializeMethodTable]’:
NSGraphicsContext.m:532:42: error: expected ‘)’ before ‘::’ token
  532 |     GET_IMP(@selector(DPScurrentcmykcolor::::));
      |                      ~                   ^~

We can see that the compiler has 'recognised' a '::' token, but inside @selector(...) each colon mark the point at which an argument would be inserted into a method call, so the compiler cannot legally tokenise pairs of colons as a single token in that context.


More information about the pkg-GNUstep-maintainers mailing list