The following issue has been SUBMITTED. ====================================================================== https://www.austingroupbugs.net/view.php?id=1921 ====================================================================== Reported By: dannyniu Assigned To: ====================================================================== Project: 1003.1(2024)/Issue8 Issue ID: 1921 Category: Shell and Utilities Type: Enhancement Request Severity: Editorial Priority: normal Status: New Name: DannyNiu/NJF Organization: Individual User Reference: Section: C17, or C2* for whatever revision of C standard to be supported by POSIX. Page Number: Not the current issue. Line Number: Not the current issue. Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2025-04-29 05:57 UTC Last Modified: 2025-04-29 05:57 UTC ====================================================================== Summary: A future C compilation interface needs to support "#embed" Description: The current version of the standard (Issue8/SUSv5/POSIX-2024) specifies the C compiler named "c17", which is a minor revision of "c11" that contains only editorials and clarifications and no normative changes.
The current version of the C standard - C23 supports the "#embed" preprocessing directive that explodes the content of a file into the source code in the form of comma-separated list of byte values; C23 also specifies that a mechanism similar to but distinct from that for the "include" mechanism be used for searching embed files. Desired Action: This text is taken from GCC manual. It's a multi-character directive, if standard developer desire a single-letter directive, this may be changed: <dl> <dt>--embed-dir=dir</dt> <dd> <p>Append dir directory to the list of searched directories for #embed preprocessing directive or __has_embed macro. There are no default directories for #embed.</p> <p>...</p> </dd> ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2025-04-29 05:57 dannyniu New Issue ======================================================================
