[PATCH] D18882: [CUDA] Tweak math forward declares so we're compatible with libstdc++4.9.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 7 16:55:55 PDT 2016

jlebar created this revision.
jlebar added a reviewer: rsmith.
jlebar added subscribers: tra, cfe-commits.

See comments in patch; we were assuming that some stdlib math functions
would be defined in namespace std, when in fact the spec says they
should be defined in the global namespace.  libstdc++4.9 became more
conforming and broke us.

This new implementation seems to cover the known knowns.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18882.52979.patch
Type: text/x-patch
Size: 16915 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160407/eb11682d/attachment-0001.bin>

More information about the cfe-commits mailing list