Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
If you get this compile warning, compiling will be significantly slowed down. Luckily, the problem is easy to solve.
There are many ways to get this warning. Below I'll show how to cause one and how to solve all.
[C++ Warning] locale(150): W8058 Cannot create pre-compiled header: initialized data in header |
#include <boost/lexical_cast.hpp> |
Which takes you to the following line in 'include/stlport/locale':
#ifndef __LOCALE_INITIALIZED |
IDE: C++ Builder 6.0
Compiler: Borland BCC32.EXE version 6.0.10.157
Project type: VCL
Boost version: 1.35.0
Put the #include of the header that causes this behind the #pragma:
#pragma hdrstop |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.