MinGW TDM 4: http://www.tdragon.net/recentgcc/
When create MinGW4.4's tag database, std::string and std::shared_ptr work fine, but std::vector and std::map unwork.
When create database from MinGW 3.4.5 , it's work fine.
MinGW 4.4's tag unwork
-
- CodeLite Enthusiast
- Posts: 35
- Joined: Sat May 02, 2009 1:56 pm
- Contact:
MinGW 4.4's tag unwork
You do not have the required permissions to view the files attached to this post.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: MinGW 4.4's tag unwork
This is probably due to some macros added in 4.4
Can u please give me a download link to the MinGW you are using?
Eran
Can u please give me a download link to the MinGW you are using?
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 35
- Joined: Sat May 02, 2009 1:56 pm
- Contact:
Re: MinGW 4.4's tag unwork
MinGW TDM 4: http://www.tdragon.net/recentgcc/eranif wrote:This is probably due to some macros added in 4.4
Can u please give me a download link to the MinGW you are using?
Eran
http://downloads.sourceforge.net/tdm-gc ... .4.0-2.exe
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: MinGW 4.4's tag unwork
Hi,
Thanks for the link.
I installed it and as I suspected, this new version contains new set of macros...
The solution is simple:
- Close the extenal tags database you already created, from 'tags -> close external tags database'
- Open tags settings from the menu: 'settings -> tags settings... -> Advanced'
- Click the button at the end of the 'preprocessor line' (the three dots button)
and add this line at the end:
As you can see, this version uses new macro _GLIBCXX_STD_D while the 3.4.5 version used _GLIBCXX_STD (no _D at the end)
- Recreate a new tags database from TDM-MinGW sources (note that the std headers are located at: C:\MinGW-TDM\lib\gcc\mingw32\4.4.0\include\c++\ C:\MinGW-TDM is my TDM installation path)
Works like a charm now.
Eran
Thanks for the link.
I installed it and as I suspected, this new version contains new set of macros...
The solution is simple:
- Close the extenal tags database you already created, from 'tags -> close external tags database'
- Open tags settings from the menu: 'settings -> tags settings... -> Advanced'
- Click the button at the end of the 'preprocessor line' (the three dots button)
and add this line at the end:
Code: Select all
_GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D)=namespace std{
- Recreate a new tags database from TDM-MinGW sources (note that the std headers are located at: C:\MinGW-TDM\lib\gcc\mingw32\4.4.0\include\c++\ C:\MinGW-TDM is my TDM installation path)
Works like a charm now.
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 35
- Joined: Sat May 02, 2009 1:56 pm
- Contact:
Re: MinGW 4.4's tag unwork
OK! Now it's work fine! Thanks!!