Top "Standards-compliance" questions

__USE_FILE_OFFSET64 vs. _FILE_OFFSET_BITS=64

I am trying to maintain code that compiles on lots of different systems. I've seen a dozen different ways of …

64-bit coding-style standards-compliance
Should I learn XML 1.0 or XML 1.1?

I know that a well-formed XML 1.1 is not necessarily a well-formed XML 1.0 and vice-versa. I want to learn xml formally …

xml standards standards-compliance xml-1.1
multipart/form-data, what is the default charset for fields?

what is the default encoding one should use to decode multipart/form-data if no charset is given? RFC2388 states: 4.5 Charset …

http standards-compliance multipartform-data rfc
How do I provide a default implementation for an Objective-C protocol?

I'd like to specify an Objective-C protocol with an optional routine. When the routine is not implemented by a class …

objective-c protocols standards-compliance default-implementation overhead-minimization
Since which version of GCC is C++14 supported?

I was investigating why this piece of code compiles on my PC that has GCC v7.2, but doesn't compile with …

c++ gcc c++14 standards-compliance
How do I use a binary prefix in accordance with C11?

I am currently starting out with programming micro controllers using C30 (A C compiler based on GCC from microchip for …

c compiler-construction standards standards-compliance c11
What's the difference between "dead code" and "unreachable code"?

I thought those terms where synonymous, but a note in MISRA regarding dead code indicates this to be wrong? What's …

standards standards-compliance misra
Valid characters for URI schemes?

I was thinking about Registering an Application to a URL Protocol and I'd like to know, what characters are allowed …

standards-compliance illegal-characters url-scheme custom-protocol
How Do I Serialize DateTime Objects in .NET in a Standards Compliant Way

My goal is use the .NET DateTime object (in C#) and have that be serialized to and parsed from a …

.net datetime standards-compliance
Boolean multiplication in c++?

Consider the following: inline unsigned int f1(const unsigned int i, const bool b) {return b ? i : 0;} inline unsigned int …

c++ boolean ternary-operator standards-compliance