You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug is new to me and I could not reproduce it on my Windows machine. However, I have tried to harden the code responsible for the bit-architecture report in this commit. Could you please check, if it is working now?
My code:
`hwinfo::OS os;
std::cout << "----------------------------------- OS ------------------------------------" << std::endl;
std::cout << std::left << std::setw(20) << "Operating System:";
std::cout << os.fullName() << std::endl;
std::cout << std::left << std::setw(20) << "short name:";
std::cout << os.name() << std::endl;
std::cout << std::left << std::setw(20) << "version:";
std::cout << os.version() << std::endl;
std::cout << std::left << std::setw(20) << "kernel:";
std::cout << os.kernel() << std::endl;
std::cout << std::left << std::setw(20) << "architecture:";
std::cout << (os.is32bit() ? "32 bit" : "64 bit") << std::endl;
std::cout << std::left << std::setw(20) << "endianess:";
std::cout << (os.isLittleEndian() ? "little endian" : "big endian") << std::endl;`
My code result
My windows System Information:
The text was updated successfully, but these errors were encountered: