Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Workaround for buggy __attribute__((alias ("..."))), #pragma alias


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 0
Sune Andersen

Posts: 7
Registered: 9/13/01
Workaround for buggy __attribute__((alias ("..."))), #pragma alias  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 3, 2016 11:49 AM
Does anyone know a workaround for buggy the __attribute__((alias ("..."))) attribute, and #pragma alias ... pragma in the Clang based compilers in 10 Update 1? See https://quality.embarcadero.com/browse/RSP-13328, https://quality.embarcadero.com/browse/RSP-13329. I'm sure I'm using both the right way, but maybe there's a "wrong" way that'll get past the bugs? Or maybe a 3rd way to achieve the same thing? Of course there's the obvious solution of just creating wrapper functions, but I'd rather avoid the runtime and maintenance overhead.

Also if anyone knows the solution to https://forums.embarcadero.com/thread.jspa?threadID=168382 (Does anyone know how to get Embarcadero Clang to compile to assembly?) that might well make it possible to find a workaround to this issue.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02