Re: [Bug report] Semantic cannot retrieve any tag from this file
Eric Ludlam <[email protected]> Wed, 28 Jan 2015 13:23:10 -0500
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <[email protected]> |
On 01/28/2015 11:19 AM, Tu Do wrote: > This is the file: > https://github.com/ipxe/ipxe/blob/master/src/include/string.h > > It seems like it has similar problems with those listed in c.by > <http://c.by>. > > Regards, > > Tu. Semantic just doesn't know what __pure or __malloc are. If you stick: #define __pure #define __nonnull #define __malloc at the top of that header, all is good. I'm not sure what those are all for, but if they have special meaning for any gcc compiler, they should be added to semantic-lex-c-preprocessor-symbol-map-builtin. Eric ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/