http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56751
Bug #: 56751
Summary: Can not confugure stage 2
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56751
Максим Прохоренко changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52336
Bug #: 52336
Summary: Change the private field without any warning or error.
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: maxim.prohorenko at gmail dot com
Target Milestone: ---
#include
#include
int main()
{
std::bitset<20> std_unused_bitset;
std::vector std_unused_vector;
double unused_doub
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90196
--- Comment #1 from Максим Прохоренко ---
Start
prog.cc:6:19: warning: unused variable 'std_unused_bitset' [-Wunused-variable]
std::bitset<20> std_unused_bitset;
^
prog.cc:9:10: warning: unused variable 'unused_double' [-Wunus
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90196
--- Comment #3 from Максим Прохоренко ---
Allocate GiB of unused memory and don't warn about it? But 1 simple double - it
is a big problem.
For std:: objects with side effect - OK!
But for simple unused vector or set or map???
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90196
--- Comment #5 from Максим Прохоренко ---
using namespace std;
class __attribute__((warn_unused)) kw
{
public:
bitset<12> flags{"0010"};
};
int main() {
printf("Hello World!\n");
kw KW;
puts(to_string(sizeof(kw)).c_str());
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55698
Bug #: 55698
Summary: gcc does not report warning if operator not used :
control reaches end of non-void function
[-Wreturn-type]
Classification: Unclassified
P
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63585
--- Comment #1 from Максим Прохоренко ---
int f (double x)
{
if (x > 0 || x < 0)
return 1;
// ok - warn
}
struct value
{
double x;
int operator== (const value &a)
{
if (a.x < x || a.x > x)
return 0;
// no warn ??
}
gcc dot gnu.org
Reporter: maxim.prohorenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63585
--- Comment #2 from Максим Прохоренко ---
clang return all warnings
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55698
--- Comment #3 from Максим Прохоренко ---
Thanks guys.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81334
Максим Прохоренко changed:
What|Removed |Added
CC||maxim.prohorenko at gmail dot
com
13 matches
Mail list logo