StackOverflow Questions for Tag: compiler-warnings

Jan Deinhard
Jan Deinhard

Reputation: 20205

Why does the compiler complain about the alignment?

Score: 14

Views: 9858

Answers: 4

Read More
Yue Wang
Yue Wang

Reputation: 1750

Why did the compiler output differently when compiling two similar classes?

Score: 1

Views: 126

Answers: 2

Read More
sharptooth
sharptooth

Reputation: 170539

Are there real life cases when C4129 warning does not indicate an error?

Score: 3

Views: 350

Answers: 2

Read More
sleeptightAnsiC
sleeptightAnsiC

Reputation: 803

Why -Wunused-value does not catch a statement `true;`?

Score: 5

Views: 146

Answers: 2

Read More
sharptooth
sharptooth

Reputation: 170539

Why exactly not treat all warnings as errors when there're no warnings in third party code?

Score: 4

Views: 1913

Answers: 5

Read More
sharptooth
sharptooth

Reputation: 170539

What do warnings C4247 and C4248 mean and why were they removed from Visual C++ 2005?

Score: 2

Views: 236

Answers: 1

Read More
rzickler
rzickler

Reputation: 747

Cast variable to nibble in struct

Score: 0

Views: 167

Answers: 1

Read More
Juan
Juan

Reputation:

Best compiler warning level for C/C++ compilers?

Score: 45

Views: 35978

Answers: 14

Read More
arov00
arov00

Reputation: 359

GCC options: warning on non-void functions without a return statement

Score: 5

Views: 3243

Answers: 1

Read More
user809409
user809409

Reputation: 511

Const correctness warnings c++

Score: 26

Views: 3516

Answers: 5

Read More
Pratik Vinod
Pratik Vinod

Reputation: 41

Unable to resolve configuration with compilerPath "/usr/bin/gcc". Using "cl.exe" instead

Score: 3

Views: 47294

Answers: 4

Read More
PoltoS
PoltoS

Reputation: 1252

Make warn_unused_result applied to all function with GCC

Score: 12

Views: 2885

Answers: 4

Read More
sharptooth
sharptooth

Reputation: 170539

Why is C4265 Visual C++ warning (virtual member function and no virtual destructor) off by default?

Score: 1

Views: 3156

Answers: 4

Read More
RonC
RonC

Reputation: 33881

VS2017: CSC : warning CS2002: Source file <filename> specified multiple times. How to fix?

Score: 9

Views: 16152

Answers: 3

Read More
user2138149
user2138149

Reputation: 17276

g++: Is there a way to warn if header file is not included in file?

Score: 1

Views: 209

Answers: 2

Read More
user552705
user552705

Reputation:

how does url within function body get compiled

Score: 4

Views: 405

Answers: 2

Read More
chainerlt
chainerlt

Reputation: 267

C# help compiler to infer nullability

Score: 1

Views: 46

Answers: 1

Read More
Morten Nissov
Morten Nissov

Reputation: 452

How can I suppress warnings from an external library in a subdirectory?

Score: 3

Views: 3590

Answers: 2

Read More
Craig Suchanec
Craig Suchanec

Reputation: 10834

Warning From Explicitly Implementing an Interface with Optional Parameters

Score: 43

Views: 11030

Answers: 3

Read More
Dillan K
Dillan K

Reputation: 23

.NET 8 & Blazor components nullable warning with @ref

Score: 2

Views: 128

Answers: 2

Read More
PreviousPage 3Next