[
https://issues.apache.org/jira/browse/STDCXX-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481223
]
Eric Lemings commented on STDCXX-359:
-
It's the gcc-4.2 20070307 snapshot. It's quite possible GCC developers
[
https://issues.apache.org/jira/browse/STDCXX-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481306
]
Martin Sebor commented on STDCXX-359:
-
Sounds like the snapshot should give the same error for the well-formed
[
https://issues.apache.org/jira/browse/STDCXX-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481313
]
Eric Lemings commented on STDCXX-359:
-
Well, to be more accurate:
enum E { e };
E v:5;
int main () { if (!v)
[
https://issues.apache.org/jira/browse/STDCXX-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481315
]
Eric Lemings commented on STDCXX-359:
-
Correction:
enum E { e };
struct S {
E v:5;
};
S s;
int main() { if
[
https://issues.apache.org/jira/browse/STDCXX-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481316
]
Eric Lemings commented on STDCXX-359:
-
Confirmed. GCC 4.1.1 does not have a problem with the bitfield. GCC 4.2