Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT indexer not support MS-style anonymous struct ?
CDT indexer not support MS-style anonymous struct ? [message #1046176] Sun, 21 April 2013 13:47 Go to next message
canky kong is currently offline canky kongFriend
Messages: 1
Registered: April 2013
Junior Member
the code is:
struct A {
	int a;
struct B {
	struct A;
	int b;
int main(){
	struct B b_struct;
// i m using gcc 4.5 ,show if i added the flag -fms-extensions,it can compile and run 
// but  the CDT indexer show error : Field 'a' could not be resolved
// is there any way to support it ?
Re: CDT indexer not support MS-style anonymous struct ? [message #1050562 is a reply to message #1046176] Sat, 27 April 2013 11:20 Go to previous message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
You should file a bugzilla request

This feature was added to the C11-Standard, see
Previous Topic:Link .lib file to MinGW C++ Linker in eclipse
Next Topic:C/C++ Eclipse
Goto Forum:

Current Time: Fri Oct 28 06:52:36 GMT 2016

Powered by FUDForum. Page generated in 0.01847 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software