PCH on Windows did crash for *.gch files greater than 150 MiB or something.
I don’t think that got fixed recently…

2015-04-15 4:04 GMT+02:00 lh_mouse <lh_mo...@126.com>:

> Did you use *exactly the same command line options* (esp. -D -fPIC etc) in
> both generating and invoking the precompiled header?
> According to my experience, mismatched -fPIC -DPIC is known to crash g++
> 4.4 on Linux. I am not sure about other versions.
>
> I have been using .gch files for mingw-w64-gcc for a couple of years and
> have encountered few problems.
>
> ------------------
> Best regards,
> lh_mouse
> 2015-04-15
>
> -------------------------------------------------------------
> 发件人:James Franco <mjfranc...@gmail.com>
> 发送日期:2015-04-15 04:29
> 收件人:mingw-w64-public
> 抄送:
> 主题:Re: [Mingw-w64-public] Is there a way to figure out why -
>  cc1plus.exe has stopped working
>
> So I noticed that including the following PCH header files file crashes g++
> The content of which is given below.
>
> #pragma once
>
>
>
> #include <stddef.h>
> #include <stdlib.h>
> #include <stdio.h>
>
> #ifdef __cplusplus
>
> #include <windows.h>
> #include <winnt.h>
> #include <d3dx9math.h>
>
>
>
> #include <vector>
> #include <string>
> #include <map>
>
>
> #define BOOST_ALL_DYN_LINK
> #define BOOST_ALL_NO_LIB
>
>
> #define BOOST_LIB_NAME boost_date_time
> #define BOOST_DYN_LINK
> #include <boost/config/auto_link.hpp>
>
> #define BOOST_LIB_NAME boost_filesystem
> #define BOOST_DYN_LINK
> #include <boost/config/auto_link.hpp>
>
> #define BOOST_LIB_NAME boost_thread
> #define BOOST_DYN_LINK
> #include <boost/config/auto_link.hpp>
>
> #define BOOST_LIB_NAME boost_program_options
> #define BOOST_DYN_LINK
> #include <boost/config/auto_link.hpp>
>
> #pragma warning(push)
> #pragma warning(disable:4244)
> #pragma warning(disable:4267)
> #pragma warning(disable:4996)
> #include <boost/format.hpp>
> #include <boost/tokenizer.hpp>
> #include <boost/foreach.hpp>
> #include <boost/format.hpp>
> #include <boost/program_options/detail/convert.hpp>
> #include <boost/filesystem.hpp>
> #include <boost/function.hpp>
> #include <boost/bind.hpp>
> #include <boost/lexical_cast.hpp>
> #include <boost/algorithm/string.hpp>
> #include <boost/thread.hpp>
> #pragma warning(pop)
>
> #if (BOOST_VERSION >= 103600)
> #define BOOST_LIB_NAME boost_system
> #define BOOST_DYN_LINK
> #include <boost/config/auto_link.hpp>
> #endif
>
>
>
> #pragma warning(push)
> #pragma warning(disable:4251)
> #pragma warning(disable:4275)
> #pragma warning(disable:4005)
>
>
>
> #include <gt_base.h>
> #include <gt_gpu.h>
> #include <gt_math.h>
> #include <gt_ode.h>
>
> #pragma warning(pop)
>
> #pragma warning(error: 4541) // RTTI is disabled
> #pragma warning(disable: 4251)
>
> #endif //__cplusplus
>
>
>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live
> exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to