This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
standard or not?
- From: Israel Fdez Cabrera <israel at seg dot inf dot cu>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 25 Jun 2003 16:50:30 -0400
- Subject: standard or not?
- Organization: Segurmatica
Hi all
I saw in a friend's Visual C++ code a line like the one below
int _val : 2;
he told me that the number after the identifier refers to the number of bits
the variable will have. I tested this in gcc 3.2 and it didn't worked.
Is this C/C++ standard o a Micro$oft extention?
best reg@rds
Israel
--
Israel Fdez Cabrera.
Usuario Linux: 270292 (http://counter.li.org)
israel@seg.inf.cu
Segurmatica.
La Habana, Cuba.