Disabled warning C4251 Added the files disable_warnings.h and reenable_warnings.h which need to be included by every file that uses the macro CERES_EXPORT.

Change-Id: I176326a600d094a4524bac873564fcbf8efd2456
This commit is contained in:
Björn Piltz
2014-05-19 08:21:00 +02:00
parent 8c62487e43
commit c0b883816f
14 changed files with 119 additions and 2 deletions
+3
View File
@@ -40,6 +40,7 @@
#include "ceres/iteration_callback.h"
#include "ceres/ordered_groups.h"
#include "ceres/types.h"
#include "ceres/internal/disable_warnings.h"
namespace ceres {
@@ -957,4 +958,6 @@ CERES_EXPORT void Solve(const Solver::Options& options,
} // namespace ceres
#include "ceres/internal/reenable_warnings.h"
#endif // CERES_PUBLIC_SOLVER_H_