File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,9 +92,9 @@ supports F2018 standard `C_BOOL` if `nvfortran -Munixlogical` is used.
9292> The logical constants .TRUE. and .FALSE. are defined to be the four-byte values -1 and 0 respectively.
9393 A logical expression is defined to be .TRUE. if its least significant bit is 1 and .FALSE. otherwise.
9494
95- Example output, Fortran interfacing with C or C++
95+ #### Example output, Fortran interfacing with C or C++
9696
97- * Intel oneAPI 2023 without ` -fpscomp logicals `
97+ * Intel oneAPI 2023..2026 (Linux or Windows) without ` -fpscomp logicals `
9898* NVHPC 2023.5 without ` -Munixlogical `
9999
100100```
@@ -108,8 +108,8 @@ Example output, Fortran interfacing with C or C++
108108 C_BOOL: 8 0 FF
109109```
110110
111- * Intel oneAPI 2023 with ` -fpscomp logicals `
112- * NVHPC 2023.5 with ` -Munixlogical `
111+ * Intel oneAPI with ` -fpscomp logicals `
112+ * NVHPC with ` -Munixlogical `
113113
114114```
115115 logical_not(T): F
Original file line number Diff line number Diff line change 11set_property (DIRECTORY PROPERTY LABELS uid)
22
3- add_executable (getuid getuid.f90 ${PROJECT_SOURCE_DIR } /src/uid/uid.cpp )
3+ add_library (uid_cpp OBJECT ${PROJECT_SOURCE_DIR } /src/uid/uid.cpp )
4+ target_link_libraries (uid_cpp PUBLIC $<$<BOOL :${WIN32 } >:Advapi32 >)
5+
6+ add_executable (getuid getuid.f90 )
7+ target_link_libraries (getuid PRIVATE uid_cpp )
48set_property (TARGET getuid PROPERTY LINKER_LANGUAGE ${linker_lang} )
59
610add_test (NAME GetUID COMMAND getuid )
You can’t perform that action at this time.
0 commit comments