kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #38886
HAVE_CLOCK_GETTIME redefined
I get this warning which I haven't seen before. I don't know at all what it
does or is it dangerous, but in general there shouldn't be two definitions
for the same name. In this case the value is different which doesn't sound
good. The compiled code has still worked for me as much as I have tested.
Does this depend on the python version and does it come from system rather
than KiCad?
Building CXX object
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcbnew_wrap.cxx.o
In file included from
/work/ohjelmointi/kicad/kicad/include/bitmap_types.h:38:0,
from
/work/ohjelmointi/kicad/kicad/include/base_struct.h:38,
from pcbnew/pcbnew_wrap.cxx:5408:
./config.h:26:0: warning: "HAVE_CLOCK_GETTIME" redefined
#define HAVE_CLOCK_GETTIME
In file included from /usr/include/python3.6m/pyconfig.h:3:0,
from /usr/include/python3.6m/Python.h:8,
from pcbnew/pcbnew_wrap.cxx:173:
/usr/include/x86_64-linux-gnu/python3.6m/pyconfig.h:127:0: note: this is
the location of the previous definition
#define HAVE_CLOCK_GETTIME 1
-----------------
Note: the version under compilation is actually 1ae6fc78a6b372428.
Application: kicad
Version: (6.0.0-rc1-dev-1482-g69fc301bf), release build
Libraries:
wxWidgets 3.0.4
Platform: Linux 4.15.0-43-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
Boost: 1.65.1
OpenCASCADE Community Edition: 6.9.1
Compiler: GCC 7.3.0 with C++ ABI 1011
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=OFF
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=OFF
--
Eeli Kaikkonen