File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ portability-avoid-pragma-once
66Finds uses of ``#pragma once `` and suggests replacing them with standard
77include guards (``#ifndef ``/``#define ``/``#endif ``) for improved portability.
88
9- `#pragma once ` is a non-standard extension, despite being widely supported
9+ `` #pragma once ` ` is a non-standard extension, despite being widely supported
1010by modern compilers. Relying on it can lead to portability issues in
1111environments.
1212
1313Some older or specialized C/C++ compilers, particularly in embedded systems,
14- may not fully support #pragma once.
14+ may not fully support `` #pragma once `` .
1515
1616Also it can fail in certain file system configurations,like network drives
1717or complex symbolic links, potentially leading to compilation issues.
You can’t perform that action at this time.
0 commit comments