User forums > General (but related to Code::Blocks)
Gcov
ewww:
--- Quote ---not really, unfortunately. The crash remains as you did only half the way.
--- End quote ---
Yes, you are right, i didnt pay attention and missed your point on which pointer to check there. However, when saying this may be the last update, I meant that at least until now I was doing this plugin for my own purposes and right now it delivers just what I need :)
I fully agree that at this stage it is not properly tested to be "production ready" or so. This is a small plugin and it did not seem to catch much attention here on the forum, so I figured, it is usable enough to be worth hanging as an attachment on this thread :)
I do not know how you generally handle contrib plugins, but sure I would be interested in doing some more work on it, if you think it could be made a part a release package, or so. Let me make another revision some time next week with proper error checking so it at least does not crash the host. Thing is, it does it's direct job perfectly well for me on my machine and my build configuration :) Checking for special cases is a bit difficult in such a scenario, especially that I am not aware of many cb specifics, e.g. no idea virtual targets existed, etc :)
killerbot:
this plug-in sounds nice, and might become a contrib plugin.
How should you structure it, well just have a look at some other contrib plug-ins.
Valgrind, ....
ewww:
I have cleaned up the project a bit. Added doxy comments, more appropriate checks for null pointers. That should make the code more reusable and stable. Hope someone actually makes use of it :)
boshuizw:
Hi all, I'd like to use the plug in for code coverage on some of my Code::Blocks projects, however I'm getting the following error when I tried to download and run the plug in project file.
error: bad value (core2) for -march= switch
error: bad value (core2) for -mtune= switch
I'm assuming this could have a work around in the project build options, but I've been unable to find a workable solution. Does anyone have any insights to this error.
Thank you
MortenMacFly:
--- Quote from: boshuizw on May 26, 2011, 12:30:28 am ---I'm assuming this could have a work around in the project build options, but I've been unable to find a workable solution. Does anyone have any insights to this error.
--- End quote ---
Check the compiler options and disable this switch. Most likely you are using a very old compiler that does not support that options or a branched compiler suite.
Next time please provide more information about your platform, version (C::B/compiler) etc. you are using. Otherwise it's hard to tell. Also see my sig on how to troubleshoot a compiler issue...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version