[BRLTTY] Swift compilation error with gcc-4.4

Samuel Thibault samuel.thibault at ens-lyon.org
Wed May 13 18:28:29 EDT 2009


Mario Lang, le Wed 13 May 2009 23:54:18 +0200, a écrit :
> 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.

Oops we don't have c++ code any more anyway.  I guess you are using
gcc-4.4 from debian?  I can not reproduce the issue, how are you setting
it?  linking gcc, or CC=gcc-4.4 ./configure, or something else?

Samuel


More information about the BRLTTY mailing list