Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

code completion problems with mingw-32 gcc g++ 5.3.0-2

(1/2) > >>

7sean68:
code completion has some problems with mingw-32 gcc g++ 5.3.0-2 for example it won't show any suggestions for string functions (ie when u have a string s then try to type "s." it won't show any suggestions.) same for begin() and end() functions for all classes. I  think it has something to do with the #if surrounding these functions in g++ 5.3.0-2 I tried to declare a variable inside a #if, as expected the plugin didn't see the variable  :'(



so does anyone here have experience in the development of this plugin ... I think it won't be much work. I intend to do it but I need someone experienced

oBFusCATed:
Do you have a minimal example that reproduces the problem?
Make sure there are no include directives inside it.

7sean68:
no I was wrong.
I have to type
--- Code: ---using namespace std::__cxx11;
--- End code ---
for the code completion to see string methods but that line is not necessary to run string methods it only needs
--- Code: ---using namespace std;
--- End code ---

oBFusCATed:
Keep in mind that our parse is not c++11 capable!

7sean68:
so, is there any plans for improving it to be c++11 capable as the default mode for C is now -std=gnu11.
If so I'd like to participate.   :D

Navigation

[0] Message Index

[#] Next page

Go to full version