[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#959127: gobjc-10: @selector broken for selectors with repeated colons



Package: gobjc-10
Version: 10-20200418-1
Forwarded: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94637
Tags: fixed-upstream
Control: block 957078 by -1
Control: block 957295 by -1
Control: block 957682 by -1
Severity: normal

$ cat test.m
#include <objc/objc.h>

int
main (void)
{
  SEL sel = @selector (method::);

  return 0;
}
$ gcc-10 test.m -lobjc
test.m: In function ‘main’:
test.m:6:30: error: expected ‘)’ before ‘::’ token
    6 |   SEL sel = @selector (method::);
      |                       ~      ^~
      |                              )
$ gcc-9 test.m -lobjc
$

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32

Kernel: Linux 5.4.0-4-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8), LANGUAGE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gobjc-10 depends on:
ii  gcc-10          10-20200418-1
ii  gcc-10-base     10-20200418-1
ii  libc6           2.30-4
ii  libc6-dev       2.30-4
ii  libgmp10        2:6.2.0+dfsg-4
ii  libisl22        0.22.1-1
ii  libmpc3         1.1.0-1
ii  libmpfr6        4.0.2-1
ii  libobjc-10-dev  10-20200418-1
ii  libzstd1        1.4.4+dfsg-3
ii  zlib1g          1:1.2.11.dfsg-2

gobjc-10 recommends no packages.

Versions of packages gobjc-10 suggests:
pn  gcc-10-doc         <none>
pn  gobjc-10-multilib  <none>

-- no debconf information


Reply to: