|
From: | Prasad J Pandit |
Subject: | [Cvs-dev] Re: cvs-passwd patch: weird problem |
Date: | Fri, 18 Aug 2006 17:03:54 +0530 (IST) |
On Thu, 17 Aug 2006, Mark D. Baushke wrote:
-----BEGIN PGP SIGNED MESSAGE----- That sounds very odd indeed. It sounds to me as though you are getting bit by aliasing with local variables. If you are doing any casting between types and you are using a very recent gcc, then you may find that adding -fno-strict-aliasing to your CFLAGS will fix your problem.
Hello Mark! :)Thanks for the information. I tried excuting it on FreeBSD with gcc 3.4.4 and to my surprise, it worked perfectly well. I mean, absolutely no hassles.
And about -fno-strict-aliasing option, I checked the gcc 4.1.1 man page, no such option is supported. I tried -fstrict-aliasing, but in vain. :(
I think, it could be, as you said, because of using very recent gcc. Could you please test run it, just to see if that is the case.
Thank you! -- regards -Prasad PS: Please don't send me html/attachment/Fwd mails
[Prev in Thread] | Current Thread | [Next in Thread] |