Hi list.

I have read a blog post about gcc extension.
http://mkosaki.blog46.fc2.com/blog-entry-1228.html (Japanese)

The blog title says "_FORTIFY_SOURCE without
__attribute__((alloc_size)) doesn't make sense" .

I've seen some "_FORTIFY_SOURCE" outputs while compiling Vim.
Should we add __attribute__((alloc_size)) to functions using malloc(),
and calloc() ?
(original post doesn't say about calloc(), though)
I also found alloc(), lalloc() in misc2.c which should be related for this.

I don't understand Vim build system well yet.
I hope someone would create a patch for this...

Thanks

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui