Synopsis - Issue Tracker
Neil via synopsis issue tracker wrote:
> New submission from Neil <synopsis.tracker@kepier.clara.net>:
>
> $ synopsis -p C /usr/include/assert.h
> segfault
rev:1657 should fix this. Can you please confirm ?
> $ synopsis -p C /usr/include/ctype.h
> bits/types.h: line 31: file 'stddef.h' not found
> included from /usr/include/ctype.h:28
> ucpp returned error flag. ignoring error.
> Segmentation fault
I can't reproduce this. The segfault may be fixed with
the above checkin, but my ucpp doesn't complain about
stddef.h, which is the basic problem here. Can you
run with the '-v' flag to see the paths and macros
passed to ucpp ? Note that you may have a look into
the 'compiler emulator database', which is stored
in ~/.synopsis/parsers/cpp/emulator. (The content
should be self-explanatory.)
>
> $ synopsis -p C /usr/include/alloca.h
> /usr/include/alloca.h: line 25: file 'stddef.h' not found
> ucpp returned error flag. ignoring error.
> ParseError: ('size_t',)
>
> stddef.h is in /usr/include/linux/
>
> Why not try testing the C parser on the linux kernel? :)
Same here. WorksForMe. Sorry. |
|
| Date |
User |
Action |
Args |
| 2006-04-01 21:20:03 | stefan | set | recipients:
+ stefan, neiljp |
| 2006-04-01 21:20:03 | stefan | link | bug98 messages |
| 2006-04-01 21:20:03 | stefan | create | |
|