Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Support for Altivec Vector types in the CDT parser?

The XLC C++ parser has full support for altivec. Try installing that and then using the Language Mappings properties page to switch to the XLC C++ parser.


Mike Kucera
Software Developer
Eclipse CDT/PTP
IBM Toronto
mkucera@xxxxxxxxxx

Inactive hide details for George Russell ---01/08/2010 06:46:55 AM---Hi all,George Russell ---01/08/2010 06:46:55 AM---Hi all,


From:

George Russell <george@xxxxxxxxxxxx>

To:

cdt-dev@xxxxxxxxxxx

Date:

01/08/2010 06:46 AM

Subject:

[cdt-dev] Support for Altivec Vector types in the CDT parser?




Hi all,

Is anyone aware of support for altivec vector types in the C++ and GNU
C++ CDT parsers? e.g.  vector float a;

I have filed an enhancement request as (bug 299109) as I couldn't see
any sign of support for this in the code or in use, and it makes the
editing environment rather busy with syntax error notices. At the
moment, these can be somewhat hackily suppressed by #defining away
vector, but that is not really a general solution.

Is there a good solution to this? I thought of naively adding a new
keyword (well, several as required) but that would still probably break
use of std::vector or C99 _Bool etc.

Cheers,
George
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


GIF image

GIF image


Back to the top