--- Comment #3 from ylalym at gmail dot com 2009-10-04 15:33 ---
(In reply to comment #0)
There is a makeshift.
File a.cpp
#include
const class nullptr_t
{
public:
template operator T*() const { return 0; }
template operator T C::*() const { return 0; }
// void (C::*pmf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722
Bug #: 51722
Summary: Options "-g3" or "-ggdb3" or "-g3 -gdwarf-2" and other
"-g..level3" - internal compiler error
Classification: Unclassified
Product: gcc
Version: 4.7.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722
--- Comment #3 from Yuriy Lalym 2012-01-02 15:06:30
UTC ---
Without PCH errors aren't present.
> all preprocessed headers to build the PCH
#include
It is enough one header for error origin.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722
--- Comment #4 from Yuriy Lalym 2012-01-02 15:16:03
UTC ---
main.cpp
---
#include
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
return a.exec();
}
---
pc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722
--- Comment #5 from Yuriy Lalym 2012-01-02 18:50:23
UTC ---
gcc-4.7 -v
Using built-in specs.
COLLECT_GCC=gcc-4.7
COLLECT_LTO_WRAPPER=/usr/local/lib/gcc/x86_64-suse-linux/4.7.0/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722
--- Comment #6 from Yuriy Lalym 2012-01-02 18:57:40
UTC ---
Created attachment 26220
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26220
For example in Comment 4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722
--- Comment #8 from Yuriy Lalym 2012-01-03 06:05:23
UTC ---
Created attachment 26224
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26224
new example
main.cpp
int main()
{
return 0;
}
---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722
--- Comment #9 from Yuriy Lalym 2012-01-03 06:08:14
UTC ---
Created attachment 26225
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26225
And pch.ii
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722
--- Comment #10 from Yuriy Lalym 2012-01-03 06:17:03
UTC ---
Created attachment 26226
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26226
only main with empty pch
main.cpp
int main()
{
return 0;
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51722
--- Comment #11 from Yuriy Lalym 2012-01-03 06:17:49
UTC ---
Created attachment 26227
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26227
And pch.ii
10 matches
Mail list logo