News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

doxygen plugin in the cc_branch has a -pg enable

Started by ollydbg, July 15, 2010, 04:07:11 PM

Previous topic - Next topic

ollydbg

DoxyBlocks.cbp

So, I think killerbot can fix it , other wise, there is a gmon.out file generated...

thanks
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Cryogen

Hi Olly,

Yes, it does. The primary reason for that is that I can't compile it when I remove that flag. It seems to be a bug or error somewhere. Several hours of searching led me to the fact that it is caused by a missing profiling code variable but I am unable to fix it. If you can shed some light, illuminate away.  :o

Cryo.
DoxyBlocks: Now in contrib. Cool, baby.
DoxyDocs: [url="http://wxsmithaddons.sourceforge.net/docs/doxyblocks/"]http://wxsmithaddons.sourceforge.net/docs/doxyblocks/[/url]
wxSmith Add-ons: [url="http://wxsmithaddons.sourceforge.net/"]http://wxsmithaddons.sourceforge.net/[/url]
Cryo's Patchorama: [url="http://forums.next.codeblocks.org/index.php/topic,12619.0.html"]http://forums.next.codeblocks.org/index.php/topic,12619.0.html[/url]

ollydbg

Quote from: Cryogen on July 19, 2010, 11:05:27 PM
Hi Olly,

Yes, it does. The primary reason for that is that I can't compile it when I remove that flag. It seems to be a bug or error somewhere. Several hours of searching led me to the fact that it is caused by a missing profiling code variable but I am unable to fix it. If you can shed some light, illuminate away.  :o

Cryo.


Hi, cryo.
I just remove the -pg option, and build the doxygen plug-in. it works fine. See the build log: (I'm using WindowsXP, ccbranch, tdm-gcc 4.5


-------------- Clean: default in DoxyBlocks ---------------

Cleaned "DoxyBlocks - default"

-------------- Build: default in DoxyBlocks ---------------

[ 11.1%] mingw32-g++.exe -Wextra -Wall  -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -include "pch.h" -DBUILDING_PLUGIN -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=0    -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -IE:\code\cb\wxWidgets-2.8.11\include -IE:\code\cb\wxWidgets-2.8.11\lib -IE:\code\cb\wxWidgets-2.8.11\lib\gcc_dll\mswu  -c E:\code\cb\cc_branch\src\plugins\contrib\DoxyBlocks\pch.h -o pch.h.gch
[ 22.2%] mingw32-g++.exe -Wextra -Wall  -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -include "pch.h" -DBUILDING_PLUGIN -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=0    -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -IE:\code\cb\wxWidgets-2.8.11\include -IE:\code\cb\wxWidgets-2.8.11\lib -IE:\code\cb\wxWidgets-2.8.11\lib\gcc_dll\mswu  -c E:\code\cb\cc_branch\src\plugins\contrib\DoxyBlocks\ConfigPanel.cpp -o ..\..\..\.objs\plugins\contrib\DoxyBlocks\ConfigPanel.o
[ 33.3%] mingw32-g++.exe -Wextra -Wall  -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -include "pch.h" -DBUILDING_PLUGIN -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=0    -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -IE:\code\cb\wxWidgets-2.8.11\include -IE:\code\cb\wxWidgets-2.8.11\lib -IE:\code\cb\wxWidgets-2.8.11\lib\gcc_dll\mswu  -c E:\code\cb\cc_branch\src\plugins\contrib\DoxyBlocks\DoxyBlocks.cpp -o ..\..\..\.objs\plugins\contrib\DoxyBlocks\DoxyBlocks.o
[ 44.4%] windres.exe -i E:\code\cb\CC_BRA~1\src\plugins\contrib\DOXYBL~1\DOXYBL~1.RC -J rc -o ..\..\..\.objs\plugins\contrib\DoxyBlocks\DoxyBlocks.res -O coff -IE:\code\cb\wxWidgets-2.8.11\include
[ 55.6%] mingw32-g++.exe -Wextra -Wall  -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -include "pch.h" -DBUILDING_PLUGIN -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=0    -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -IE:\code\cb\wxWidgets-2.8.11\include -IE:\code\cb\wxWidgets-2.8.11\lib -IE:\code\cb\wxWidgets-2.8.11\lib\gcc_dll\mswu  -c E:\code\cb\cc_branch\src\plugins\contrib\DoxyBlocks\DoxyBlocksLogger.cpp -o ..\..\..\.objs\plugins\contrib\DoxyBlocks\DoxyBlocksLogger.o
[ 66.7%] mingw32-g++.exe -Wextra -Wall  -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -include "pch.h" -DBUILDING_PLUGIN -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=0    -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -IE:\code\cb\wxWidgets-2.8.11\include -IE:\code\cb\wxWidgets-2.8.11\lib -IE:\code\cb\wxWidgets-2.8.11\lib\gcc_dll\mswu  -c E:\code\cb\cc_branch\src\plugins\contrib\DoxyBlocks\ExtractDocs.cpp -o ..\..\..\.objs\plugins\contrib\DoxyBlocks\ExtractDocs.o
[ 77.8%] mingw32-g++.exe -Wextra -Wall  -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -include "pch.h" -DBUILDING_PLUGIN -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=0    -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -IE:\code\cb\wxWidgets-2.8.11\include -IE:\code\cb\wxWidgets-2.8.11\lib -IE:\code\cb\wxWidgets-2.8.11\lib\gcc_dll\mswu  -c E:\code\cb\cc_branch\src\plugins\contrib\DoxyBlocks\Config.cpp -o ..\..\..\.objs\plugins\contrib\DoxyBlocks\Config.o
[ 88.9%] mingw32-g++.exe -Wextra -Wall  -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -include "pch.h" -DBUILDING_PLUGIN -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=0    -I..\..\..\include -I..\..\..\sdk\wxscintilla\include -IE:\code\cb\wxWidgets-2.8.11\include -IE:\code\cb\wxWidgets-2.8.11\lib -IE:\code\cb\wxWidgets-2.8.11\lib\gcc_dll\mswu  -c E:\code\cb\cc_branch\src\plugins\contrib\DoxyBlocks\AutoDoc.cpp -o ..\..\..\.objs\plugins\contrib\DoxyBlocks\AutoDoc.o
[100.0%] mingw32-g++.exe -shared   -Wl,--dll -L..\..\..\devel -LE:\code\cb\wxWidgets-2.8.11\lib -LE:\code\cb\wxWidgets-2.8.11\lib\gcc_dll  ..\..\..\.objs\plugins\contrib\DoxyBlocks\Config.o ..\..\..\.objs\plugins\contrib\DoxyBlocks\ConfigPanel.o ..\..\..\.objs\plugins\contrib\DoxyBlocks\DoxyBlocks.o ..\..\..\.objs\plugins\contrib\DoxyBlocks\DoxyBlocksLogger.o ..\..\..\.objs\plugins\contrib\DoxyBlocks\ExtractDocs.o ..\..\..\.objs\plugins\contrib\DoxyBlocks\AutoDoc.o  ..\..\..\.objs\plugins\contrib\DoxyBlocks\DoxyBlocks.res  -o ..\..\..\devel\share\CodeBlocks\plugins\DoxyBlocks.dll -Wl,--enable-auto-import -mthreads  -lcodeblocks -lwxscintilla -lwxmsw28u
Output size is 2.52 MB
[ 33.3%] Running target post-build steps
[ 66.7%] zip -j9 ..\..\..\devel\share\codeblocks\DoxyBlocks.zip manifest.xml
updating: manifest.xml (188 bytes security) (deflated 53%)
[100.0%] zip -9 ..\..\..\devel\share\codeblocks\DoxyBlocks.zip images\*.png images\16x16\*.png
updating: images/chm.png (188 bytes security) (stored 0%)
updating: images/comment_block.png (188 bytes security) (stored 0%)
updating: images/comment_line.png (188 bytes security) (stored 0%)
updating: images/configure.png (188 bytes security) (stored 0%)
updating: images/doxywizard.png (188 bytes security) (stored 0%)
updating: images/extract.png (188 bytes security) (deflated 35%)
updating: images/html.png (188 bytes security) (stored 0%)
updating: images/16x16/chm.png (188 bytes security) (stored 0%)
updating: images/16x16/comment_block.png (188 bytes security) (stored 0%)
updating: images/16x16/comment_line.png (188 bytes security) (stored 0%)
updating: images/16x16/configure.png (188 bytes security) (stored 0%)
updating: images/16x16/extract.png (188 bytes security) (deflated 56%)
updating: images/16x16/html.png (188 bytes security) (stored 0%)
updating: images/16x16/wizard.png (188 bytes security) (stored 0%)
update.bat
Process terminated with status 0 (0 minutes, 22 seconds)
0 errors, 0 warnings


If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Cryogen


Hi,

I just tried and it worked for me, too. As recently as a week and a half or so ago I tried when Killerbot removed it and it wouldn't build. Well, I'm just happy it works now. :-)

Thanks.
DoxyBlocks: Now in contrib. Cool, baby.
DoxyDocs: [url="http://wxsmithaddons.sourceforge.net/docs/doxyblocks/"]http://wxsmithaddons.sourceforge.net/docs/doxyblocks/[/url]
wxSmith Add-ons: [url="http://wxsmithaddons.sourceforge.net/"]http://wxsmithaddons.sourceforge.net/[/url]
Cryo's Patchorama: [url="http://forums.next.codeblocks.org/index.php/topic,12619.0.html"]http://forums.next.codeblocks.org/index.php/topic,12619.0.html[/url]