[Bug c++/35602] Bogus warning with -Wsign-conversion
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Mar 16 03:05:00 GMT 2008
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-03-16 03:04 -------
Here is a self contained example:
namespace std
{
struct string
{
~string();
string();
};
}
int
main(const int,
const char * const * const)
{
std::string x[0UL][0UL] =
{
};
std::string y[0UL] =
{
};
int z[0ul][0UL] =
{
};
return 0;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35602
More information about the Gcc-bugs
mailing list