[PATCH] Suppress Clang warning 'register' storage class specifier is deprecated
23 views
Skip to first unread message
Simon Atanasyan
unread,
Mar 17, 2015, 12:11:31 PM3/17/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mcli...@googlegroups.com
Hi,
I try to compile MCLinker using the Clang but get the following warnings:
[[
Script/ScriptScanner.cc:2499:6: error: 'register' storage class
specifier is deprecated [-Werror,-Wdeprecated-register]
register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
...
]]
The attached patch suppress this warning for the ScriptScanner.ll file
only. Is it OK to commit this patch?
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Simon Atanasyan, mcli...@googlegroups.com
LGTM.
Thanks,
Pete
--
You received this message because you are subscribed to the Google Groups "MCLinker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mclinker+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Simon Atanasyan
unread,
Mar 18, 2015, 7:09:23 AM3/18/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message