Opened 10 years ago

Closed 10 years ago

#7056 closed Bugs (fixed)

Macro redefinition warning when using nvcc on Windows

Reported by: Jonathan Jones <jonathan.jones@…> Owned by: John Maddock
Milestone: To Be Determined Component: config
Version: Boost 1.49.0 Severity: Problem
Keywords: Cc:

Description

When using the nvcc compiler on Windows, you get a level-1 compiler warning about a redefinition of the BOOST_COMPILER macro.

Attached is the patch to boost/boost/config/compiler/visualc.hpp which fixed the warning, and parallels the code already in boost/boost/config/compiler/gcc.hpp.

Attachments (1)

visuals.hpp.patch (743 bytes ) - added by Jonathan Jones <jonathan.jones@…> 10 years ago.

Download all attachments as: .zip

Change History (2)

by Jonathan Jones <jonathan.jones@…>, 10 years ago

Attachment: visuals.hpp.patch added

comment:1 by John Maddock, 10 years ago

Resolution: fixed
Status: newclosed

(In [79375]) Apply patch from #7056. Fixes #7056.

Note: See TracTickets for help on using tickets.