C++
Clang++
CMake
wxWidgets x86 is installed in vcpkg
main.cpp
Code: Select all
#include <iostream>
#include <wx/wx.h>
int main(int, char**) {
std::cout << "Hello, world!\n";
}
Code: Select all
wx/defs.h:1011:12: error: cast from pointer to smaller type 'wxUIntPtr' (aka 'unsigned long') loses information
[build] return reinterpret_cast<wxUIntPtr>(p);
Bob K.