From: Ben C. <bcl...@pe...> - 2005-02-11 08:17:59
|
Nick, Very glad it does work. My guess is that your version of gcc, which has only be released a short time, completed some very deep checking. This is where this warning was found. We know the code works, but we will have to look into it further to find out what gcc has found. Or possibly being the latest gcc, it's a bug in gcc. But thankfully I think this unlikely :) Sorry about the deletion problem. Know bug. Will be fixed on next version. Please keep us informed of any PerfParse problems and solution you find, and enjoy the product. Kind regards, Ben Clewett. Nick Smith wrote: > Yves wrote: > >>> Nick, >>> >>> I am sorry but I am out of options. I can't see anything wrong with the >>> code, or replicate your error. >> >> >> >>>>>>> config_file.c:105: warning: null argument where non-null required >>>>>>> (arg 1) >>>>>>> config_file.c:105: warning: null argument where non-null required >>>>>>> (arg 2) >> >> >> >> I have one last idea : suppose there is a wrong character in that >> line. A character you >> cannot see. It sometimes happen when you copy/paste code from unsafe >> sources. >> >> Either edit config_file.c with a hex editor and check that all the >> characters are >> allowed, or delete that line and type it again by hand. No copy/paste. >> >> Also try to remove that line to see if there are still warnings. >> >> This is my last idea, but if something strange happen, it can give us >> other ideas... :) > > > Well, I tried commenting out the first line that reports the error, and > typing in by hand again above... and exactly the same problem. All very > odd. Howerer, since it's just a warning, compilation went ahead OK and I > installed it all OK, and it;s been collecting data that I can graph for > a few days now. I'll try and poke around a bit later to see if I can pin > it down further. > > I was going to say it's not caused any problems (and it probably is > unrelated), but I just found that: > > The first database purge I attempted: Marked a host for deleting that I > am no longer capturing data for. Then ran perfparse-db-purge, and got: > > +-----------------------------------------------------------------------------+ > > | Deleting data flagged for deletionAn error occured with the SQL: > > "DELETE perfdata_service FROM perfdata_service,perfdata_host WHERE > perfdata_service.host_name = perfdata_host.host_name AND > perfdata_host.is_deleted = 1" > > Failure Message: > > "Cannot delete or update a parent row: a foreign key constraint fails" > > Is this USER ERROR? ;-) > > Cheers > Nick > > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |