[BRLTTY] Swift compilation error with gcc-4.4

Samuel Thibault samuel.thibault at ens-lyon.org
Wed May 13 12:16:52 EDT 2009


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.

Samuel


More information about the BRLTTY mailing list