Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000178incronpublic2010-05-21 00:572010-05-21 17:49
Reporterruben 
Assigned Toluk 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Summary0000178: small fix for building with gcc-c++ 4.3
Descriptionpatch attached
TagsNo tags attached.
Attached Filespatch file icon incron-gcc43.patch [^] (652 bytes) 2008-02-09 13:54 [Show Content]

- Relationships

-  Notes
(0000138)
butterfly (reporter)
2008-04-03 09:04

I am not a C++ programmer so maybe this information is not relevant after applying the patch mentioned here.

The incron 0.5.7. package will not build anymore in an up-to-date ArchLinux environment. This ArchLinux system uses gcc 4.3.
The solution I found is to add "#include <string.h>" to the files icd-main.cpp, usertable.cpp, incroncfg.cpp, appargs.cpp and ict-main.cpp.
(0000322)
luk (administrator)
2008-12-29 16:47

The best solution is probably to combine both your suggestions and place "#include <cstring>" into each file where it makes sense. It works well on openSUSE 11.0 and should work on other distributions too.
(0000323)
luk (administrator)
2008-12-29 16:48

"#include <cstring>" added into each file as needed.

- Issue History
Date Modified Username Field Change
2008-02-09 13:54 ruben New Issue
2008-02-09 13:54 ruben File Added: incron-gcc43.patch
2008-02-10 14:32 luk Status new => assigned
2008-02-10 14:32 luk Assigned To => luk
2008-04-03 09:04 butterfly Note Added: 0000138
2008-12-29 16:47 luk Note Added: 0000322
2008-12-29 16:48 luk Note Added: 0000323
2008-12-29 16:48 luk Status assigned => resolved
2008-12-29 16:48 luk Resolution open => fixed
2010-05-21 17:49 luk Status resolved => closed


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker