shawwn / noh

An open source implementation of Icefrog's DotA, with a pretty amazing engine. Builds in 3 minutes flat; cross-platform.
197 stars 31 forks source link

ninja: build stopped: subcommand failed. #6

Open arthur-x88 opened 10 months ago

arthur-x88 commented 10 months ago
In file included from C:/Users/ardep/noh/src/k2/c_vec.h:12,
                 from C:/Users/ardep/noh/src/k2/k2_mathlib.h:424,
                 from C:/Users/ardep/noh/src/vid_gl2/vid_common.h:74:
C:/Users/ardep/noh/src/k2/c_vec4.h:124:29: error: specialization of 'CVec4<T>::CVec4(dword) [with T = float; dword = unsigned int]' after instantiation
  124 | CVec4<float>::CVec4(dword dw) :
      |                             ^
C:/Users/ardep/noh/src/k2/c_vec4.h:235:36: error: specialization of 'dword CVec4<T>::GetAsDWord() const [with T = float; dword = unsigned int]' after instantiation
  235 | dword   CVec4<float>::GetAsDWord() const
      |                                    ^~~~~
C:/Users/ardep/noh/src/k2/c_vec4.h:262:38: error: specialization of 'dword CVec4<T>::GetAsDWordGL() const [with T = float; dword = unsigned int]' after instantiation
  262 | dword   CVec4<float>::GetAsDWordGL() const
      |                                      ^~~~~
In file included from C:/Program Files/JetBrains/CLion 2023.2.2/bin/mingw/x86_64-w64-mingw32/include/minwindef.h:163,
                 from C:/Program Files/JetBrains/CLion 2023.2.2/bin/mingw/x86_64-w64-mingw32/include/windef.h:9,
                 from C:/Program Files/JetBrains/CLion 2023.2.2/bin/mingw/x86_64-w64-mingw32/include/windows.h:69,
                 from C:/Users/ardep/noh/src/k2/k2_include_windows.h:15,
                 from C:/Users/ardep/noh/src/vid_gl2/vid_common.h:44:
C:/Users/ardep/noh/src/k2/c_file.h:37:11: error: expected unqualified-id before numeric constant
   37 | const int FILE_CREATE           (BIT(8));

Seems Im getting this on both Windows and Mac with CLION