Questions tagged [standards-compliance]
The standards-compliance tag has no usage guidance.
380
questions
-4
votes
1
answer
42
views
Why isn't an IEC 60559 conformant implementation required to define __STDC_IEC_559__ (to 1)?
The C (C99+) standard requires (though implicitly) a conforming implementation to define __STDC__ to 1.
However, the C standard does not require an IEC 60559 conformant implementation to define ...
0
votes
0
answers
15
views
How to remediate the conformance test [sig-network] failures done using sonobuoy for kubernetes v1.20?
I am facing the below conformation test failures using sonobuoy for k8s version 1.20.
Kindly advise what can be done to fix these or how do I troubleshoot?
Also whether these can be ignored and what ...
0
votes
2
answers
69
views
Complete documentation to comply a platform to NGSI-LD framework
I am looking for a document that clearly mentions all the data models to comply to NGSI-LD format. Can you pls either post that document file or share URL that mentions NGSI-LD details.
Thanks
Debasis
1
vote
2
answers
101
views
Why don't non-strict floating-point models change the value 1 of __STDC_IEC_559__?
Sample code (t0.c):
#include <stdio.h> // fix for clang, see https://stackoverflow.com/q/69976945/1778275
#if __STDC_IEC_559__ == 1
#pragma message "__STDC_IEC_559__ is 1"
#else
#...
1
vote
0
answers
49
views
C standard library: standard headers: is reserving of non-standard identifiers, which don't begin with underscore, considered acceptable practice?
I was just reading C11, 7.1.3 Reserved identifiers, 2, which says:
No other identifiers are reserved.
Here is a quick test:
# gcc on Linux
$ echo -e "#include <time.h>\n#define CLK_TCK&...
1
vote
0
answers
73
views
Cannot use -fsanitize=address in g++-11
I tryed to use -fsanitize=address option in g++-11. However, ld showed an error message when I executed command.
Environment:
OS: macOS Monterery Version 12.1 Beta (21C5021h)
Arch: arm64
g++-11:
❯ g+...
6
votes
3
answers
227
views
What are the examples of non-ISO practices, which are not found by -pedantic?
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html :
Some users try to use -Wpedantic to check programs for strict ISO C conformance. They soon find that it does not do quite what they want: it ...
1
vote
4
answers
109
views
What is the rationale for "semantics violation does not require diagnostics"?
Follow-up question for: If "shall / shall not" requirement is violated, then does it matter in which section (e.g. Semantics, Constraints) such requirement is located?.
ISO/IEC 9899:202x (E) ...
2
votes
2
answers
109
views
If "shall / shall not" requirement is violated, then does it matter in which section (e.g. Semantics, Constraints) such requirement is located?
If "shall / shall not" requirement is violated, then does it matter in which section (e.g. semantics, constraints) such requirement is located?
Reason of the question: this opinion:
This is ...
2
votes
1
answer
147
views
Tentative definition of variable with internal linkage has incomplete non-array type: conforming implementations show different behavior
Follow-up question for: Why do conforming implementations behave differently w.r.t. incomplete array types with internal linkage?.
Context: tentative definition of variable with internal linkage has ...
3
votes
2
answers
358
views
Microsoft C/C++: what is the definition of "strict conformance" w.r.t. implementation?
Context:
/Za, /Ze (Disable Language Extensions):
... the C compiler conforms strictly to the C89/C90 standard
/permissive- (Standards conformance):
... and sets the /Zc compiler options for strict ...
1
vote
0
answers
21
views
AWS Artifact & AWS Organizations
I want to download a SOC 2 TYPE 2 report from AWS artifact. In my company we use AWS Organizations to manage 20 different AWS accounts. I was wondering if it would be possible to download a single SOC ...
0
votes
0
answers
339
views
Suppress or delete findings & violations (security hub/config) for default created resources by control tower?
I deployed control tower in the ca-central-1 region and enabled security hub and aws config through a dedicated admin account (audit account provided by default via control tower).
I then enabled the ...
1
vote
1
answer
269
views
How to fix s3-bucket-policy-grantee-check non-compliance?
I deployed a NIST CSF conformance pack on my AWS account, via AWS Config, to improve my security posture. One of my resources was non-compliant due to the s3-bucket-policy-grantee-check not passing. ...
4
votes
2
answers
86
views
Can extension cancel the existing standard requirements?
Follow-up question for Why do conforming implementations behave differently w.r.t. incomplete array types with internal linkage?.
Context: in both gcc and clang (conforming implementations) by default ...
-1
votes
1
answer
86
views
Why C compiler validation suites themselves may use the C standard library if the C standard library is actually under test?
How it is possible for C compiler validation suites to use any feature of the C standard library if the C standard library is actually under test and may be buggy (which invalidates the validation ...
2
votes
1
answer
133
views
Autosar standard-compilant way to use regex
I need to parse URI-like string. This URI is specific to the project and corresponds to "scheme://path/to/file", where path should be a syntactically correct path to file from filesystem ...
5
votes
1
answer
148
views
Why do conforming implementations behave differently w.r.t. incomplete array types with internal linkage?
Sample code (t0.c):
static int arr[ ];
int main( void )
{
return arr[ 0 ];
}
static int arr[ ] = { 0 };
Invocations:
$ gcc t0.c -std=c11 -Wall -Wextra
<nothing>
$ clang t0.c -std=c11 ...
-3
votes
1
answer
79
views
If an implementation supports extra nonstandard features, then is such implementation conforming?
Follow-up question for: Do unsupported standard features affect conformance?.
Question: if an implementation supports extra features which are not described in the C standard, nor in any "...
0
votes
1
answer
90
views
Do unsupported standard features affect conformance?
Context: C compilers deliberately do not support some features while being conforming implementations. Is it ok?
Some examples. All of the compilers down below are conforming implementations (__STDC__ ...
0
votes
0
answers
33
views
Is there SCC equivalent to check for STIG compliance on Amazon linux 2
I normally use SCC tool to check for STIG compliance on RedHat and other flavors of Linux.
I found that the SCC tool does not check for all the STIG compliance issues on Amazon Linux 2. Was wondering ...
4
votes
0
answers
72
views
Annex F conforming Intel targeted clang / gcc does not raise "invalid" floating-point exception for (signed char)128.0f, bug?
Annex F requires raising of "invalid" floating-point exception (C11, Annex F, F.4 Floating to integer conversion):
... if the floating value is infinite or NaN or if the integral part of ...
2
votes
1
answer
44
views
Are HAS_SUBNORM and __STDC_IEC_559__ dependent?
Are HAS_SUBNORM and __STDC_IEC_559__ dependent? For example:
If __STDC_IEC_559__ is 1, then HAS_SUBNORM is 1.
If HAS_SUBNORM is 0, then __STDC_IEC_559__ is not 1.
0
votes
1
answer
97
views
Is there any C compiler able to detect the violation of a "strictly conforming program"? [duplicate]
Is there any C compiler able to detect* the violation of a "strictly conforming program"?
* under some option, for example, --accept-only-strictly-conforming-program
If no, then which tools ...
0
votes
1
answer
18
views
Accesibility Compliance Error on keyboard access
I'm trying to solve all the issues related to the 508 complianca and I'm struggling with on of them.
Verify the <div> element with "menu" role has keyboard access
How can I add ...
1
vote
1
answer
83
views
Why in Java pow(1, qNaN) is qNaN while in IEEE 754-2008 pow(1, qNaN) is 1?
Why in Java pow(1, qNaN) is qNaN while in IEEE 754 pow(1, qNaN) is 1?
Java:
System.out.println(Math.pow(1, Double.NaN)); // prints NaN (which is qNaN)
$ javac --version
javac 11.0.11
IEEE 754-2008, ...
0
votes
0
answers
106
views
How no support of #pragma STDC FENV_ACCESS ON affects __STDC_IEC_559__ and __STDC__?
This simple code (t217.c):
#include <stdio.h>
#include <fenv.h>
#include <float.h>
#pragma STDC FENV_ACCESS ON
int main( void )
{
feclearexcept( FE_ALL_EXCEPT );
( void )( ...
-1
votes
2
answers
95
views
Shall a #pragma leading to nonstandard behavior cause __STDC__ macro not to be defined to 1?
Simple question: shall a #pragma leading to nonstandard behavior cause __STDC__ macro not to be defined to 1? (Does the C standard explicitly prescribes that? If yes, then in which section? If no, ...
-2
votes
1
answer
37
views
HTML 5 Validation Service
I am trying to check HTML 5 files for validity and have found the W3C validator.
However I have found that this validator accepts grossly wrong HTML documents like this one:
<!DOCTYPE html>
<...
1
vote
1
answer
98
views
Why Clang running on Windows has no C conformance (__STDC__ is not defined to 1)?
Sample code (t127.c):
#include <stdio.h>
int main(void)
{
int ret;
#if __STDC__ == 1
printf("Has C conformance to version ");
#if __STDC_VERSION__
printf("%ld", ...
2
votes
1
answer
77
views
Why does this use of the detection idiom result in different compilation errors for Clang and GCC and none for MSVC
While playing around with the detection idiom and void_t I found that expressions where the subtraction operator and void* are involved lead to different errors in the tested compilers.
GCC 10.2 and ...
0
votes
1
answer
161
views
Is there any C compiler which defines both __STDC__ and __STDC_IEC_559__ to 1?
Is there any C compiler(s) which defines both __STDC__ and __STDC_IEC_559__ to 1?
If so, then which one(s)?
Reason of the question: as far as I can test (April 2021), none of the latest versions of ...
3
votes
1
answer
99
views
Why is this combination of move and value constructor ambigous for MSVC but not for Clang and GCC in C++17 and above
I have the following code
struct R {
int i_ = 8;
R() = default;
R(R const& o) = default;
R(R&& o) = default;
R(int i) : i_(i) {}
operator int() const { return i_; }
...
1
vote
1
answer
4k
views
What are the key differences between service trust portal and compliance manager
Both have Privacy, compliance and security menus on their site and redirect to compliance offerings. So how do we differentiate for what purpose do we you one of each or both is the question.
My team ...
1
vote
0
answers
402
views
Detecting *working* Vulkan implementation on Android?
In theory, on Android one can query FEATURE_VULKAN_HARDWARE_VERSION at runtime to determine whether a device has a working Vulkan implementation, and based on the result either enable a (faster) ...
1
vote
1
answer
82
views
The local variable which is used in return statement doesn't convert to r-value implicitly to match the conversion operator
In the example snippet code below, the local variable which is used in return statement doesn't convert to r-value implicitly to match the conversion operator. However for move constructor it works.
I ...
4
votes
2
answers
134
views
C compiler's FP based on non-IEEE 754: is such C compiler C standard compliant?
If a C compiler's FP is based on non-IEEE 754, then is such C compiler C standard compliant?
0
votes
1
answer
36
views
If __STDC_IEC_559__ is not defined, then how to determine that FP (at least partially) conforms to IEEE 754?
If __STDC_IEC_559__ is not defined, then how to determine at compile time that FP implementation of a (unknown in advance) C compiler (at least partially) conforms to IEEE 754 and not to other FP ...
1
vote
0
answers
66
views
search patterns on running-config with multiple queries
I am having a problem with creating a script, to search a file for certain patterns. Once the pattern is found in the file, it should print a message.
The problem I am having is that it is just ...
0
votes
1
answer
35
views
Clarification regarding SOC-2 compliance in multiple locations
I am not sure if this is the right forum to ask this question.
We are a startup having customers in 4 different locations. Our customers are being served from cloud - hosted in 4 different data ...
0
votes
2
answers
38
views
Can I verify drivers, services and environment variables with Chef Infra on a Windows 10 platform?
I'm trying to verify Windows 10 consoles that MUST be exactly the same from a software standpoint. I plan to use Chef to facilitate this. Every aspect of the console must match its counterparts down ...
0
votes
1
answer
123
views
Is there any Static Code Analysis Tool to verify API REST guidelines?
Thanks in advance for sharing your ideas and inputs.
We know there are many REST guidelines for API published these days. I use the below for internal code review.
https://github.com/Microsoft/api-...
4
votes
1
answer
447
views
Is it okay to use Flutter for Hipaa compliant app?
I am working on deciding the technology stack for one of health-related application. We are targetting for HIPAA compliance for the same.
Definitely Native is a good option but I am looking for cost-...
0
votes
1
answer
273
views
Does Amazon Web Services (AWS) support GDPR?
Which AWS services are GDPR ready? Can I build and run GDPR compliant applications on AWS?
0
votes
1
answer
491
views
How to run Cloud DLP (Data Loss Prevention) in all Big Query tables in my project?
As per the DLP docs, when you create an Inspect Job, you need to specify the table reference:
{
"inspectJob":{
"storageConfig":{
"bigQueryOptions":{
"tableReference":{
"...
0
votes
3
answers
132
views
JavaScript querySelectorAll escaping periods standards reference
In Blink bug 1045868 I reference that querySelectorAll isn't working with periods. The response I received was:
This is per spec. Selectors containing dots in identifiers need to be escaped, ...
0
votes
0
answers
79
views
Should I use separate databases for HIPAA and PCI-DSS compliant data?
My question is mostly theoretical, but if I have an application (for example for a private clinic) which stores their patient's health information (HIPAA), accepts payments with cards and stores ...
-1
votes
1
answer
110
views
Does SQLite have any features (other than file-besed-ness) that other SQL flavours do not? [closed]
I remember reading somewhere that SQLite follows the standard completely, when possible (as in, switching databases, etc. is not implemented, as well as using dynamic types). One would expect that the ...
0
votes
1
answer
99
views
Compilation Error with (/permissive-) while creating a 'ClassType<std::unique_ptr<Base>>' from 'std::unique_ptr<Derived>'
I have a code snippet which used to work properly when conformance mode settings were set to off. When I set the conformance mode to (/permissive-). I am facing error in part of the code where ...
0
votes
1
answer
129
views
How long must EDI files be archived for before purging them
I am looking to understand the rules behind purging EDI data from trading partners. I am lead to believe there is rules for the amount of time data must be archived for dependent on the country.
Is ...