StackOverflow Questions for Tag: compiler-warnings

onqtam
onqtam

Reputation: 4538

How to require a semicolon after a macro

Score: 17

Views: 10683

Answers: 5

Read More
sharptooth
sharptooth

Reputation: 170539

Can I exclude some specific warnings from "treat warnings as errors" without disabling them?

Score: 9

Views: 1294

Answers: 1

Read More
x-yuri
x-yuri

Reputation: 18973

How do I resolve the "control reaches end of non-void function" warning in the case with a custom error handler?

Score: 3

Views: 138

Answers: 3

Read More
sharptooth
sharptooth

Reputation: 170539

Are there real life cases when deleting an incomplete type is not an error in C++?

Score: 3

Views: 288

Answers: 2

Read More
sharptooth
sharptooth

Reputation: 170539

What legal code could trigger C4523 "multiple destructors specified" Visual C++ warning?

Score: 6

Views: 219

Answers: 3

Read More
Jerry Dodge
Jerry Dodge

Reputation: 27296

How to get rid of this compiler warning?

Score: 0

Views: 480

Answers: 3

Read More
Franz Kafka
Franz Kafka

Reputation: 10841

Maven compiler warnings and errors in Eclipse

Score: 4

Views: 2839

Answers: 1

Read More
Chris
Chris

Reputation: 773

Is there any way to get gcc or clang to warn on explicit casts?

Score: 8

Views: 3583

Answers: 5

Read More
The Hollow Owl
The Hollow Owl

Reputation: 11

Getting warnings for using void * while trying to recode printf

Score: 1

Views: 98

Answers: 2

Read More
Raheel Khan
Raheel Khan

Reputation: 14787

Warning about unsafe for trimming and AOT compatibility if passed across the WinRT ABI (List<T>)

Score: 6

Views: 1007

Answers: 0

Read More
TN.
TN.

Reputation: 19850

Warning: Field is never assigned to, and will always have its default value null

Score: 5

Views: 5507

Answers: 4

Read More
kutuzof
kutuzof

Reputation: 660

How can I disable compiler warnings in Eclipse on a file specific basis?

Score: 36

Views: 61376

Answers: 5

Read More
Daniel Kamil Kozar
Daniel Kamil Kozar

Reputation: 19316

Why does constructing std::string(0) not emit a compiler warning?

Score: 4

Views: 408

Answers: 2

Read More
rerun
rerun

Reputation: 25505

vs2010 C4353 why isn't this an error

Score: 1

Views: 352

Answers: 4

Read More
sharptooth
sharptooth

Reputation: 170539

Why is C4062 Visual C++ warning off by default?

Score: 4

Views: 1562

Answers: 4

Read More
moala
moala

Reputation: 5334

Why is VC++ C4150 (deletion of pointer to incomplete type) only a warning?

Score: 11

Views: 4388

Answers: 3

Read More
Joe
Joe

Reputation: 289

Javac - How to treat all warnings as errors except deprecations?

Score: 0

Views: 62

Answers: 0

Read More
Green 绿色
Green 绿色

Reputation: 2936

Explanation of [[nodiscard]] in C++17

Score: 42

Views: 40209

Answers: 3

Read More
sharptooth
sharptooth

Reputation: 170539

What does "potential divide by zero" mean in Visual C++ C4723 warning description?

Score: 0

Views: 3392

Answers: 4

Read More
alfC
alfC

Reputation: 16300

Warning flags for accumulation of floating-point as integers?

Score: 0

Views: 79

Answers: 0

Read More
PreviousPage 4Next