Bugzilla – Bug 134150
pan-0.14.2-82: returning pointer to local variable
Last modified: 2005-11-17 12:02:47 UTC
I just tried to compile package pan-0.14.2-82 with the Intel C compiler. It said gmime-message-partial.c(419): warning #1251: returning pointer to local variable The source code is return &message; but GMimeMessage ** g_mime_message_partial_split_message (GMimeMessage *message, size_t max_size, size_t *nparts) { so message is one of the parameters of the routine. Suggest code rework. BTW, the email address of the author [ e.Messiah@superpimp.org ] appears to be broken.
We do not support the Intel C Compiler currently. If you need PAN to compile with the Intel C Compiler, you should contact the upstream package authors / maintainers. See the project homepage at: http://pan.rebelbase.com/ You should use the mailinglist listed there to report anything, suggestedly pan-devel.
(In reply to comment #1) > We do not support the Intel C Compiler currently. > If you need PAN to compile with the Intel C Compiler, you should contact the > upstream package authors / maintainers. I don't need PAN to be compilable with Intel C compiler, I am just using it to find bugs. GNU C compiler will also find this PAN bug I think. > You should use the mailinglist listed there to report anything, suggestedly > pan-devel. It seems like I need to set up an account to send in a bug report. I don't think I'll bother. Thanks anyway.