← Back to team overview

kicad-developers team mailing list archive

Lots of compile errors after recent source pull


I did a pull yesterday and suddenly I'm getting just a ton of errors during compiling.  I'm on Windows 10 under minGW.  My setup was working great up until this recent pull, and then everything fell apart.
The problems seem to begin when compiling the "common" directory, specifically when it hits "gal".  This is a sample of gcc's output when the problem first starts:
Scanning dependencies of target gal
[ 60%] Building CXX object common/CMakeFiles/gal.dir/basic_gal.cpp.obj
[ 60%] Building CXX object common/CMakeFiles/gal.dir/draw_panel_gal.cpp.obj
[ 60%] Building CXX object common/CMakeFiles/gal.dir/gl_context_mgr.cpp.obj
[ 60%] Building CXX object common/CMakeFiles/gal.dir/newstroke_font.cpp.obj
[ 60%] Building CXX object common/CMakeFiles/gal.dir/painter.cpp.obj
In file included from C:/msys64/mingw64/include/c++/10.1.0/bits/ios_base.h:46,
                 from C:/msys64/mingw64/include/c++/10.1.0/streambuf:41,
                 from C:/msys64/mingw64/include/c++/10.1.0/bits/streambuf_iterator.h:35,
                 from C:/msys64/mingw64/include/c++/10.1.0/iterator:66,
                 from C:/msys64/mingw64/include/wx-3.0/wx/arrstr.h:116,
                 from C:/msys64/mingw64/include/wx-3.0/wx/filefn.h:15,
                 from C:/msys64/mingw64/include/wx-3.0/wx/utils.h:20,
                 from C:/msys64/mingw64/include/wx-3.0/wx/cursor.h:69,
                 from C:/msys64/mingw64/include/wx-3.0/wx/event.h:21,
                 from C:/msys64/mingw64/include/wx-3.0/wx/app.h:19,
                 from C:/msys64/mingw64/include/wx-3.0/wx/glcanvas.h:18,
                 from C:/msys64/home/kicad-master/kicad/include/gl_context_mgr.h:28,
                 from C:/msys64/home/kicad-master/kicad/common/gl_context_mgr.cpp:26:
C:/msys64/mingw64/include/c++/10.1.0/system_error:54:9: note: replace the class-key with 'struct'
   54 |   class error_code;
      |         ^~~~~~~~~~
C:/msys64/mingw64/include/c++/10.1.0/system_error:180:10: note: 'std::error_code' defined as 'struct' here
  180 |   struct error_code
      |          ^~~~~~~~~~
C:/msys64/mingw64/include/c++/10.1.0/system_error:55:9: note: replace the class-key with 'struct'
   55 |   class error_condition;
      |         ^~~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/10.1.0/system_error:278:10: note: 'std::error_condition' defined as 'struct' here
  278 |   struct error_condition
It goes on and on and on like this with all these errors about "struct error code" and "class error code" and the like.

I have a local branch that is only up to date with 2cfd6ba978caee591a6ae2a1f920d96c31717f2f from July 2, and I was able just now to compile it again without any errors.  

I created a brand new clone repo of the latest commit  ( 9e669db5b4bdeff7f057614a6c93067f7a8c7024 ) and I still get the same compile errors.

Has anyone else noticed this?  Is this a problem on my end or is there a bad push that started this problem somewhere between July 2 and today? 

Follow ups