Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
CC upper limits ? BUT for sure BUGs
killerbot:
This seems to work.
--- Code: ---Opening /home/killerbot/Projects/CC-bug/libraries/common/Dummy/Project/Dummy.cbp
Done.
Opening /home/killerbot/Projects/CC-bug/libraries/common/NamingService/Project/NamingService.cbp
Done.
Opening /home/killerbot/Projects/CC-bug/libraries/common/Dummy2/Project/Dummy2.cbp
Done.
NativeParser::CreateParser(): Finish creating a new parser for project 'Dummy'
NativeParser::OnParserEnd(): Project 'Dummy' parsing stage done!
NativeParser::AddProjectToParser(): Add project (NamingService) to parser
NativeParser::AddProjectToParser(): Add project (Dummy2) to parser
NativeParser::OnParserEnd(): Project 'Dummy2' parsing stage done!
--- End code ---
also the big workspace I had completed till the end.
Note : OnParserEnd() is printed for these header only projects, and the same for a project which is based upon a makefile. But stuff continued till the end, the projects I had which are based on makefile are at the end, but all of them passed by, so I guess these are also ok.
killerbot:
question :" can CC already deal with the C++11 syntax :
using Foo = int;
aka the new typedef style.
ollydbg:
--- Quote from: killerbot on January 27, 2014, 08:45:45 pm ---This seems to work.
--- Code: ---Opening /home/killerbot/Projects/CC-bug/libraries/common/Dummy/Project/Dummy.cbp
Done.
Opening /home/killerbot/Projects/CC-bug/libraries/common/NamingService/Project/NamingService.cbp
Done.
Opening /home/killerbot/Projects/CC-bug/libraries/common/Dummy2/Project/Dummy2.cbp
Done.
NativeParser::CreateParser(): Finish creating a new parser for project 'Dummy'
NativeParser::OnParserEnd(): Project 'Dummy' parsing stage done!
NativeParser::AddProjectToParser(): Add project (NamingService) to parser
NativeParser::AddProjectToParser(): Add project (Dummy2) to parser
NativeParser::OnParserEnd(): Project 'Dummy2' parsing stage done!
--- End code ---
also the big workspace I had completed till the end.
--- End quote ---
Good result!
--- Quote ---Note : OnParserEnd() is printed for these header only projects, and the same for a project which is based upon a makefile.
--- End quote ---
Do you mean "is not printed"?
--- Quote ---But stuff continued till the end, the projects I had which are based on makefile are at the end, but all of them passed by, so I guess these are also ok.
--- End quote ---
I will commit the patch if no objections.
--- Quote from: killerbot on January 27, 2014, 08:47:08 pm ---question :" can CC already deal with the C++11 syntax :
using Foo = int;
aka the new typedef style.
--- End quote ---
No, not sure how easy we can add such feature.
C++11 has more and more features that our CC parser doesn't support, currently, I think only Clang can help us.
BTW: I have read some posts in GCC maillists and Emacs maillist recently, sounds like RMS does not like Clang, since it fosters many proprietary tools. I personally hope GCC can have such feature, but it's not. :(
killerbot:
indeed : "NOT" printed, sorry for the confusion.
Commit welcome.
ollydbg:
--- Quote from: killerbot on January 28, 2014, 07:43:52 am ---indeed : "NOT" printed, sorry for the confusion.
Commit welcome.
--- End quote ---
I try to find the reason why this is a Linux only bug, with the new patch, I would like to see what's the log of your test workspace.
This is mine on Windows.
--- Code: ---Opening E:\cc-bug\libraries\common\Dummy\Project\Dummy.cbp
Done.
Opening E:\cc-bug\libraries\common\NamingService\Project\NamingService.cbp
Done.
Opening E:\cc-bug\libraries\common\Dummy2\Project\Dummy2.cbp
Done.
NativeParser::CreateParser(): Finish creating a new parser for project 'Dummy'
NativeParser::OnParserEnd(): Project 'Dummy' parsing stage done!
NativeParser::AddProjectToParser(): Add project (NamingService) to parser
NativeParser::OnParsingOneByOneTimer(): all files in this project were already parsed, try next project.
NativeParser::OnParsingOneByOneTimer(): all files in this project were already parsed, try next project.
NativeParser::OnParserEnd(): Project 'NamingService' parsing stage done!
NativeParser::AddProjectToParser(): Add project (Dummy2) to parser
NativeParser::OnParserEnd(): Project 'Dummy2' parsing stage done!
--- End code ---
EDIT: patch deleted, because later posts contain new patches.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version