Package: g++-4.0
Version: 4.0-0pre2
Severity: important
Tags: experimental
Hi,
the following code doesn't compile:
struct A {};
namespace Boo
{
struct B
{
friend struct A;
B(const A) {};
};
}
int main()
{
A a;
Boo::B b(a);
return 0;
}
It compiles with g++ 4.0.
Package: g++-3.4
Version: 3.4.2-2
Severity: important
Hi,
the following code doesn't compile. It's related to my BR #233548
André
struct Dummy
{
void foo();
};
const bool g_bAlways = false;
int main()
{
bool test;
if (g_bAlways)
{
if (Dummy* dummy = 0)
{
Package: g++-3.4
Version: 3.4.1-3
Severity: important
Hi,
when I compile taglib from KDE's CVS I get
g++ -DHAVE_CONFIG_H -I../../taglib/ogg -I/src/kde/kdesupport/taglib/ogg
-I../.. -I/src/kde/kdesupport/taglib
-I/src/kde/kdesupport/taglib/toolkit -Wnon-virtual-dtor -Wno-long-long
-Wundef -ansi
Package: gcc-snapshot
Version: 20040215-1
Severity: important
Tags: sid
Hi,
the following code doesn't compile:
void bla(const char) {};
void bla(const int) {};
templatetypename T
void foo()
{
void (*g)(const T) = bla;
}
void bla(const double) {};
int main()
{
foodouble();
Package: gcc-snapshot
Version: 20040215-1
Severity: important
Tags: sid
Hi,
I get ICE when I compile with g++ -Wall ice.cp
ice.ii from g++ -save-temps:
1 ice.cpp
# 1 built-in
# 1 command line
# 1 ice.cpp
# 11 ice.cpp
namespace Data
{
class Dummy;
}
namespace
{
const bool g_bAlways =
Package: g++-3.3
Version: 1:3.3.3-0pre1
Severity: important
Tags: sid
Hi,
the following example
enum Enum1
{
None
};
namespace Test
{
enum Enum2
{
None
};
}
int main()
{
}
compiles with
test.cpp:11: error: conflicting types for `None'
test.cpp:4: error: previous
6 matches
Mail list logo