Stop using typeof() GNU extension
6009a54aab
switches away from -std=gnu++...
Bug: chromium:427584
Change-Id: Ib9cb76ce6fb901727f696ded3944af0e510c030a
Reviewed-on: https://webrtc-review.googlesource.com/94779
Commit-Queue: Oleh Prypin <oprypin@google.com>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24337}
This commit is contained in:
@ -158,7 +158,7 @@ class LateBindingSymbolTable {
|
|||||||
|
|
||||||
// Returns a reference to the given late-binded symbol, with the correct type.
|
// Returns a reference to the given late-binded symbol, with the correct type.
|
||||||
#define LATESYM_GET(ClassName, inst, sym) \
|
#define LATESYM_GET(ClassName, inst, sym) \
|
||||||
(*reinterpret_cast<typeof(&sym)>( \
|
(*reinterpret_cast<__typeof__(&sym)>( \
|
||||||
(inst)->GetSymbol(LATESYM_INDEXOF(ClassName, sym))))
|
(inst)->GetSymbol(LATESYM_INDEXOF(ClassName, sym))))
|
||||||
|
|
||||||
} // namespace adm_linux
|
} // namespace adm_linux
|
||||||
|
|||||||
Reference in New Issue
Block a user