Skip to content

Commit

Permalink
get rid of class '...' needs to have dll-interface to be used by clie…
Browse files Browse the repository at this point in the history
…nts of struct '...'
  • Loading branch information
Dan Smith committed Dec 6, 2023
1 parent 6f68578 commit f816590
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions six/modules/c++/cpp_pch.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#pragma once

// Needs to be outside of `#pragma warning(push)`
#pragma warning(suppress: 4193) // #pragma warning(pop): no matching '...'
#pragma warning(pop)
#pragma warning(disable: 4251) // '...' : class '...' needs to have dll-interface to be used by clients of struct '...'
#pragma warning(push)

#pragma warning(push)
#pragma warning(disable: 5039) // '...': pointer or reference to potentially throwing function passed to 'extern "C"' function under - EHc.Undefined behavior may occur if this function throws an exception.
#pragma warning(disable: 5219) // implicit conversion from '...' to '...', possible loss of data
Expand Down

0 comments on commit f816590

Please sign in to comment.