Closed Bug 575020 Opened 15 years ago Closed 15 years ago

MSVC build failure due to: warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_cast'

Categories

(Core :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 556886

People

(Reporter: dholbert, Unassigned)

Details

Attachments

(1 file)

After I landed the patch for bug 557566 today, vlad reported this build failure in his local build: { C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\typeinfo(157) : error C2220: warning treated as error - no 'object' file generated C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\typeinfo(157) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_cast' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\exception(218) : see declaration of 'stdext::exception' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\typeinfo(156) : see declaration of 'std::bad_cast' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\typeinfo(178) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_typeid' C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\exception(218) : see declaration of 'stdext::excepti } Note that TryServer & m-c tinderboxen don't hit this -- not sure what's different between them vs. vlad's setup that make him affected & them unaffected. In any case, assuming we don't care about this warning, we can should just disable it in configure.in
Assuming we don't care about this warning[1], this will disable it. [1] haven't yet really investigated what the warning means or whether we care about it
Ah, indeed - thanks!
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: