+ fix & suppress msvc warnings
This commit is contained in:
parent
a36bf71632
commit
9abedaf0d2
|
@ -160,7 +160,7 @@ Driver_Mesh::Status DriverSTL_R_SMDS_Mesh::Perform()
|
|||
static Standard_Real readFloat(OSD_File& theFile)
|
||||
{
|
||||
union {
|
||||
Standard_Boolean i;
|
||||
Standard_Integer i;
|
||||
Standard_ShortReal f;
|
||||
}u;
|
||||
|
||||
|
|
|
@ -54,6 +54,10 @@
|
|||
#include <Standard_ErrorHandler.hxx>
|
||||
|
||||
// Netgen include files
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4067)
|
||||
#endif
|
||||
|
||||
namespace nglib {
|
||||
#include <nglib.h>
|
||||
}
|
||||
|
|
|
@ -50,6 +50,10 @@
|
|||
/*
|
||||
Netgen include files
|
||||
*/
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4067)
|
||||
#endif
|
||||
|
||||
namespace nglib {
|
||||
#include <nglib.h>
|
||||
}
|
||||
|
|
|
@ -59,6 +59,9 @@
|
|||
/*
|
||||
Netgen include files
|
||||
*/
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4067)
|
||||
#endif
|
||||
|
||||
namespace nglib {
|
||||
#include <nglib.h>
|
||||
|
|
|
@ -63,6 +63,8 @@
|
|||
|
||||
#if defined(_MSC_VER)
|
||||
#define strtoll _strtoi64
|
||||
#pragma warning(disable : 4003)
|
||||
#pragma warning(disable : 4065)
|
||||
#endif
|
||||
|
||||
using namespace Base;
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
\**************************************************************************/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4267)
|
||||
#endif
|
||||
|
||||
#include <Quarter/devices/InputDevice.h>
|
||||
#include <QtGui/QInputEvent>
|
||||
#include <Inventor/events/SoEvents.h>
|
||||
|
|
|
@ -38,6 +38,10 @@
|
|||
*/
|
||||
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4267)
|
||||
#endif
|
||||
|
||||
#include <Quarter/devices/Keyboard.h>
|
||||
|
||||
#include <QtCore/QEvent>
|
||||
|
|
|
@ -37,6 +37,10 @@
|
|||
QuarterWidget.
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4267)
|
||||
#endif
|
||||
|
||||
#include <Quarter/devices/Mouse.h>
|
||||
|
||||
#include <QtCore/QEvent>
|
||||
|
|
|
@ -48,6 +48,10 @@
|
|||
\endcode
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4267)
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#include <QtCore/QEvent>
|
||||
|
|
|
@ -34,6 +34,10 @@
|
|||
#include <Quarter/QuarterWidget.h>
|
||||
#include <Quarter/eventhandlers/EventFilter.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4267)
|
||||
#endif
|
||||
|
||||
#include <QtGui/QApplication>
|
||||
#include <QtGui/QCursor>
|
||||
#include <QtGui/QMenu>
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
\**************************************************************************/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4267)
|
||||
#endif
|
||||
|
||||
#include <Quarter/devices/SpaceNavigatorDevice.h>
|
||||
|
||||
#include <QtGui/QApplication>
|
||||
|
|
|
@ -51,6 +51,9 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#ifdef __GNUG__
|
||||
#pragma implementation
|
||||
#endif
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4244)
|
||||
#endif
|
||||
|
||||
#include <boost/progress.hpp>
|
||||
#include <boost/timer.hpp>
|
||||
|
|
|
@ -30,19 +30,17 @@
|
|||
#ifdef FC_OS_WIN32
|
||||
# define PointsExport __declspec(dllexport)
|
||||
#else // for Linux
|
||||
# define PointsExport
|
||||
# define PointsExport
|
||||
#endif
|
||||
|
||||
#ifdef _PreComp_
|
||||
|
||||
// here get the warnings of too long specifiers disabled (needed for VC6)
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning( disable : 4251 )
|
||||
# pragma warning( disable : 4503 )
|
||||
# pragma warning( disable : 4275 )
|
||||
# pragma warning( disable : 4786 ) // specifier longer then 255 chars
|
||||
# pragma warning( disable : 4181 )
|
||||
# pragma warning( disable : 4305 )
|
||||
#endif
|
||||
|
||||
#ifdef _PreComp_
|
||||
|
||||
// standard
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
|
|
@ -19,6 +19,11 @@
|
|||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4244)
|
||||
#pragma warning(disable : 4800)
|
||||
#endif
|
||||
|
||||
#include "svd_eigen_HH.hpp"
|
||||
|
||||
namespace KDL{
|
||||
|
|
|
@ -19,6 +19,11 @@
|
|||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4244)
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
#include <algorithm>
|
||||
#include <cfloat>
|
||||
|
|
|
@ -19,6 +19,11 @@
|
|||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4244)
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
#include <Eigen/QR>
|
||||
|
||||
|
|
|
@ -62,6 +62,8 @@
|
|||
|
||||
#if defined(_MSC_VER)
|
||||
#define strtoll _strtoi64
|
||||
#pragma warning(disable : 4003)
|
||||
#pragma warning(disable : 4065)
|
||||
#endif
|
||||
|
||||
using namespace App;
|
||||
|
|
Loading…
Reference in New Issue
Block a user