All: modernize C++11
* replace deprecated headers
This commit is contained in:
@@ -3177,8 +3177,8 @@ void Application::ExtractUserPath()
|
||||
}
|
||||
|
||||
#if defined (FC_OS_LINUX) || defined(FC_OS_CYGWIN) || defined(FC_OS_BSD)
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <sys/param.h>
|
||||
|
||||
std::string Application::FindHomePath(const char* sCall)
|
||||
@@ -3235,7 +3235,7 @@ std::string Application::FindHomePath(const char* sCall)
|
||||
#elif defined(FC_OS_MACOSX)
|
||||
#include <mach-o/dyld.h>
|
||||
#include <string>
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include <sys/param.h>
|
||||
|
||||
std::string Application::FindHomePath(const char* call)
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <Base/Persistence.h>
|
||||
|
||||
#ifdef __GNUC__
|
||||
# include <stdint.h>
|
||||
# include <cstdint>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
#ifndef _PreComp_
|
||||
# ifdef _MSC_VER
|
||||
# include <time.h>
|
||||
# include <ctime>
|
||||
# include <crtdbg.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <time.h>
|
||||
#include <ctime>
|
||||
#include <cfloat>
|
||||
#ifdef FC_OS_WIN32
|
||||
#define _USE_MATH_DEFINES
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
#if defined(Q_OS_UNIX)
|
||||
# include <sys/types.h>
|
||||
# include <time.h>
|
||||
# include <ctime>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <assert.h>
|
||||
# include <cassert>
|
||||
# include <QFile>
|
||||
# include <QTextStream>
|
||||
#endif
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <float.h>
|
||||
# include <cfloat>
|
||||
# ifdef FC_OS_WIN32
|
||||
# include <windows.h>
|
||||
# endif
|
||||
|
||||
@@ -45,13 +45,13 @@
|
||||
#ifdef _PreComp_
|
||||
|
||||
// standard
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <fcntl.h>
|
||||
#include <ctype.h>
|
||||
#include <cctype>
|
||||
#include <typeinfo>
|
||||
#include <float.h>
|
||||
#include <limits.h>
|
||||
#include <cfloat>
|
||||
#include <climits>
|
||||
|
||||
#ifdef FC_OS_WIN32
|
||||
#include <Windows.h>
|
||||
@@ -59,9 +59,6 @@
|
||||
#include <shellapi.h>
|
||||
#endif
|
||||
|
||||
// null-terminated byte string
|
||||
#include <cctype>
|
||||
|
||||
// streams
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
#include <Inventor/SbRotation.h>
|
||||
#include <Inventor/actions/SoGLRenderAction.h>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <limits>
|
||||
#include <QApplication>
|
||||
#include <QGridLayout>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <float.h>
|
||||
# include <cfloat>
|
||||
# ifdef FC_OS_WIN32
|
||||
# include <windows.h>
|
||||
# endif
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
# include <config.h>
|
||||
#endif // HAVE_CONFIG_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
#include <sstream>
|
||||
|
||||
// FreeCAD Base header
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@
|
||||
# include <config.h>
|
||||
#endif // HAVE_CONFIG_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#if defined(FC_OS_WIN32)
|
||||
#include <Windows.h>
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
#endif
|
||||
|
||||
#include <openssl/hmac.h>
|
||||
|
||||
@@ -44,8 +44,8 @@
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
@@ -44,8 +44,8 @@
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <math.h> //OvG: Required for log10
|
||||
# include <cmath> //OvG: Required for log10
|
||||
# include <TopoDS.hxx>
|
||||
# include <BRepGProp_Face.hxx>
|
||||
# include <gp_Vec.hxx>
|
||||
|
||||
@@ -49,8 +49,8 @@
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
@@ -60,8 +60,6 @@
|
||||
#include <memory>
|
||||
#include <cmath>
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <stdexcept>
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
|
||||
#include <math.h>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
# include <Inventor/nodes/SoMaterialBinding.h>
|
||||
# include <Inventor/nodes/SoScale.h>
|
||||
|
||||
# include <math.h>
|
||||
# include <cmath>
|
||||
#endif
|
||||
|
||||
#include <Gui/Command.h>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
# include <boost_bind_bind.hpp>
|
||||
|
||||
# include <math.h>
|
||||
# include <cmath>
|
||||
#endif
|
||||
|
||||
#include "ViewProviderFemPostFunction.h"
|
||||
|
||||
@@ -43,8 +43,8 @@
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#ifdef _PreComp_
|
||||
|
||||
// standard
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
@@ -53,8 +53,8 @@
|
||||
#include <list>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <io.h>
|
||||
#include <fcntl.h>
|
||||
#include <vector>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
// standard
|
||||
#include <list>
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
// STL
|
||||
#include <vector>
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
|
||||
// standard
|
||||
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
|
||||
// STL
|
||||
#include <algorithm>
|
||||
|
||||
@@ -49,8 +49,8 @@
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
@@ -47,10 +47,10 @@
|
||||
#ifdef _PreComp_
|
||||
|
||||
// standard
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
#include <float.h>
|
||||
#include <cfloat>
|
||||
#include <fcntl.h>
|
||||
#include <ios>
|
||||
|
||||
|
||||
@@ -52,8 +52,8 @@
|
||||
# include <gts.h>
|
||||
#endif
|
||||
// standard
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
|
||||
// STL
|
||||
#include <algorithm>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "PreCompiled.h"
|
||||
#include "MeshFlatteningNurbs.h"
|
||||
#include <iostream>
|
||||
#include "math.h"
|
||||
#include <cmath>
|
||||
|
||||
|
||||
namespace nurbs{
|
||||
|
||||
@@ -49,8 +49,8 @@
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
|
||||
@@ -52,9 +52,9 @@
|
||||
#include <list>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
#include <fcntl.h>
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
#include <array>
|
||||
#include <vector>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <assert.h>
|
||||
# include <cassert>
|
||||
#endif
|
||||
|
||||
/// Here the FreeCAD includes sorted by Base,App,Gui......
|
||||
|
||||
@@ -57,12 +57,8 @@
|
||||
|
||||
// standard
|
||||
#include <iostream>
|
||||
//#include <stdio.h>
|
||||
#include <cassert>
|
||||
#include <cfloat>
|
||||
//#include <io.h>
|
||||
//#include <fcntl.h>
|
||||
//#include <ctype.h>
|
||||
# include <cmath>
|
||||
#include <sstream>
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
# else
|
||||
# include <GL/gl.h>
|
||||
# endif
|
||||
# include <float.h>
|
||||
# include <cfloat>
|
||||
# include <algorithm>
|
||||
# include <Inventor/SoPickedPoint.h>
|
||||
# include <Inventor/SoPrimitiveVertex.h>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <float.h>
|
||||
# include <cfloat>
|
||||
# include <algorithm>
|
||||
# include <map>
|
||||
# include <Inventor/SoPickedPoint.h>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
# else
|
||||
# include <GL/gl.h>
|
||||
# endif
|
||||
# include <float.h>
|
||||
# include <cfloat>
|
||||
# include <algorithm>
|
||||
# include <Inventor/SoPickedPoint.h>
|
||||
# include <Inventor/SoPrimitiveVertex.h>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
# else
|
||||
# include <GL/gl.h>
|
||||
# endif
|
||||
# include <float.h>
|
||||
# include <cfloat>
|
||||
# include <algorithm>
|
||||
# include <Inventor/actions/SoCallbackAction.h>
|
||||
# include <Inventor/actions/SoGetBoundingBoxAction.h>
|
||||
|
||||
@@ -49,8 +49,8 @@
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
@@ -58,8 +58,7 @@
|
||||
#include <bitset>
|
||||
|
||||
#include <cstring>
|
||||
|
||||
# include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
// QT
|
||||
#include <QObject>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
// standard
|
||||
#include <algorithm>
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
|
||||
@@ -43,8 +43,8 @@
|
||||
#ifdef _PreComp_
|
||||
|
||||
// standard
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
|
||||
// STL
|
||||
#include <algorithm>
|
||||
@@ -59,9 +59,9 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <bitset>
|
||||
#include <float.h>
|
||||
#include <cfloat>
|
||||
#include <cmath>
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
|
||||
#endif //_PreComp_
|
||||
|
||||
|
||||
@@ -44,8 +44,8 @@
|
||||
#ifdef _PreComp_
|
||||
|
||||
// standard
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
|
||||
// STL
|
||||
#include <algorithm>
|
||||
|
||||
@@ -38,8 +38,8 @@
|
||||
#ifdef _PreComp_
|
||||
|
||||
// standard
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
|
||||
|
||||
// STL
|
||||
|
||||
@@ -43,8 +43,8 @@
|
||||
#ifdef _PreComp_
|
||||
|
||||
// standard
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
|
||||
// STL
|
||||
#include <algorithm>
|
||||
|
||||
@@ -57,8 +57,8 @@
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
#ifdef _PreComp_
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
|
||||
@@ -41,8 +41,8 @@
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "kdl_cp/chainjnttojacsolver.hpp"
|
||||
#include "kdl_cp/chainiksolverpos_nr.hpp"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
#include <iostream>
|
||||
|
||||
#include <Base/Console.h>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include "kdl_cp/chain.hpp"
|
||||
#include "kdl_cp/frames_io.hpp"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
#include <iostream>
|
||||
|
||||
#include <Base/Console.h>
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
#endif // #ifndef _PreComp_
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
#include <Base/Vector3D.h>
|
||||
#include <Base/Exception.h>
|
||||
|
||||
@@ -44,8 +44,8 @@
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <assert.h>
|
||||
# include <cassert>
|
||||
#endif
|
||||
|
||||
/// Here the FreeCAD includes sorted by Base,App,Gui......
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
# include <QInputDialog>
|
||||
# include <QMessageBox>
|
||||
# include <QString>
|
||||
# include <stdlib.h>
|
||||
# include <cstdlib>
|
||||
# include <qdebug.h>
|
||||
# include <GC_MakeEllipse.hxx>
|
||||
# include <boost/math/special_functions/fpclassify.hpp>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
|
||||
// STL
|
||||
#include <vector>
|
||||
|
||||
@@ -47,8 +47,8 @@
|
||||
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
#include <vector>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
#include "Utils.h"
|
||||
#include <sstream>
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
#include <boost/regex.hpp>
|
||||
#include <Base/Exception.h>
|
||||
#include "Sheet.h"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
# include <QTextStream>
|
||||
#endif
|
||||
|
||||
#include <time.h>
|
||||
#include <ctime>
|
||||
#if defined(FC_OS_WIN32)
|
||||
#include <sys/timeb.h>
|
||||
#endif
|
||||
|
||||
@@ -49,8 +49,8 @@
|
||||
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
#include <vector>
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
#include <QtGui/QKeyEvent>
|
||||
#include <QtGui/QShowEvent>
|
||||
#include <QtGui/QMouseEvent>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#include <QScreen>
|
||||
#include <Gui/FileDialog.h>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#ifdef _PreComp_
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
# include <cstring>
|
||||
# include <cstdlib>
|
||||
#include <cmath>
|
||||
#include <float.h>
|
||||
#include <cfloat>
|
||||
#include <string>
|
||||
# include <exception>
|
||||
|
||||
|
||||
@@ -51,8 +51,8 @@
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <assert.h>
|
||||
# include <cassert>
|
||||
#endif
|
||||
|
||||
/// Here the FreeCAD includes sorted by Base,App,Gui......
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <assert.h>
|
||||
# include <cassert>
|
||||
#endif
|
||||
|
||||
/// Here the FreeCAD includes sorted by Base,App,Gui......
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <assert.h>
|
||||
# include <cassert>
|
||||
#endif
|
||||
|
||||
/// Here the FreeCAD includes sorted by Base,App,Gui......
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <assert.h>
|
||||
# include <cassert>
|
||||
#endif
|
||||
|
||||
/// Here the FreeCAD includes sorted by Base,App,Gui......
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
#endif // #ifndef _PreComp_
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#include "MDIViewPage.h"
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <QGraphicsScene>
|
||||
#include <QGraphicsSceneHoverEvent>
|
||||
#include <QMouseEvent>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <QGraphicsScene>
|
||||
#include <QGraphicsSceneHoverEvent>
|
||||
#include <QMouseEvent>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <QGraphicsScene>
|
||||
#include <QGraphicsSceneHoverEvent>
|
||||
#include <QMouseEvent>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <QGraphicsScene>
|
||||
#include <QGraphicsSceneHoverEvent>
|
||||
#include <QMouseEvent>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <QGraphicsScene>
|
||||
#include <QGraphicsSceneHoverEvent>
|
||||
#include <QMouseEvent>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <QGraphicsScene>
|
||||
#include <QGraphicsSceneHoverEvent>
|
||||
#include <QMouseEvent>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <QGraphicsScene>
|
||||
#include <QMenu>
|
||||
#include <QMouseEvent>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <QGraphicsScene>
|
||||
#include <QGraphicsSceneHoverEvent>
|
||||
#include <QMouseEvent>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <QGraphicsScene>
|
||||
#include <QGraphicsSceneHoverEvent>
|
||||
#include <QMouseEvent>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
//#include <QGraphicsScene>
|
||||
//#include <QGraphicsSceneHoverEvent>
|
||||
//#include <QMouseEvent>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <QGraphicsScene>
|
||||
#include <QMenu>
|
||||
#include <QMouseEvent>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <QGraphicsScene>
|
||||
#include <QMouseEvent>
|
||||
#include <QPainter>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include <QPaintDevice>
|
||||
#include <QSvgGenerator>
|
||||
#include <QVector2D>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#endif
|
||||
|
||||
#include <App/Application.h>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <QPainter>
|
||||
#include <QPainterPath>
|
||||
#include <QStyleOptionGraphicsItem>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <QGraphicsScene>
|
||||
#include <QGraphicsSceneHoverEvent>
|
||||
#include <QMouseEvent>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <QDialog>
|
||||
|
||||
|
||||
# include <math.h>
|
||||
# include <cmath>
|
||||
#endif
|
||||
|
||||
#include <App/Application.h>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <QGraphicsScene>
|
||||
#include <QGraphicsSceneHoverEvent>
|
||||
#include <QMouseEvent>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
# include <QPaintDevice>
|
||||
# include <QSvgGenerator>
|
||||
|
||||
# include <math.h>
|
||||
# include <cmath>
|
||||
#endif
|
||||
|
||||
#include <App/Application.h>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <QGraphicsScene>
|
||||
#include <QGraphicsView>
|
||||
#include <QGraphicsSceneHoverEvent>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <QImage>
|
||||
#include <QByteArray>
|
||||
#include <QBuffer>
|
||||
#include <stdlib.h>
|
||||
#include <cstdlib>
|
||||
|
||||
|
||||
MTextEdit::MTextEdit(QWidget *parent) : QTextEdit(parent) {
|
||||
|
||||
@@ -43,8 +43,8 @@
|
||||
#endif
|
||||
|
||||
// standard
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <cstdio>
|
||||
#include <cassert>
|
||||
|
||||
// STL
|
||||
#include <algorithm>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
|
||||
// STL
|
||||
|
||||
Reference in New Issue
Block a user