[BRLTTY] Swift compilation error with gcc-4.4

Mario Lang mlang at delysid.org
Wed May 13 17:54:18 EDT 2009


Samuel Thibault <samuel.thibault at ens-lyon.org> writes:

> Mario Lang, le Wed 13 May 2009 18:12:00 +0200, a écrit :
>> ./../../../Programs/spk_driver.h:78: error: expected primary-expression before ‘.’ token
>> ./../../../Programs/spk_driver.h:78: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
>> 
>> Does anyone have any idea what this could be related to?
>
> I guess the problem is that g++ doesn't like ".name = content"
> initializers here.  These are new in C99.  I guess we should just have
> ./configure try to add -std=c++0x when that is accepted.

Good try, however, adding -std=c++0x to the g++-4.4 call does not
help, I get the same errors.

-- 
CYa,
  ⡍⠁⠗⠊⠕ | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang/key at db.debian.org
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>


More information about the BRLTTY mailing list