Hello, Another question about the more esoteric parts of C. Is there any way to get dragonegg to handle c function aliases or is there a way to get around this? For example, I've got a simple file: int foo(int x) { return x; } extern typeof(foo) foo2 __attribute((alias("foo"))); Compiling with vanilla gcc I end up with two symbols: foo and foo2 which both refer to the same function. When I compile through dragonegg I only get a symbol for foo. Thanks. -- gregory malecha http://www.people.fas.harvard.edu/~gmalecha/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110803/84c59a29/attachment.html>
Hi Gregory,> Another question about the more esoteric parts of C. Is there any way to get > dragonegg to handle c function aliases or is there a way to get around this? For > example, I've got a simple file: > > int foo(int x) { return x; } > > extern typeof(foo) foo2 __attribute((alias("foo"))); > > Compiling with vanilla gcc I end up with two symbols: foo and foo2 which both > refer to the same function. When I compile through dragonegg I only get a symbol > for foo.it seems it is being handled a bit too well by dragonegg :) Please open a bug report. Best wishes, Duncan.