[MacPorts] #67087: libomp: warnings (was: Macports ventura clang-mp-15 -> openmp defect)
MacPorts
noreply at macports.org
Sat Mar 11 04:45:46 UTC 2023
#67087: libomp: warnings
---------------------+----------------------
Reporter: mu578 | Owner: eborisch
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: libomp |
---------------------+----------------------
Changes (by ryandesign):
* status: new => assigned
* priority: High => Normal
* milestone: MacPorts Future =>
* owner: (none) => eborisch
* port: => libomp
Old description:
> port 2.8.1 newly installed:
>
> /opt/local/include/libomp/omp.h:53:9: warning: ISO C restricts enumerator
> values to range of 'int' (2147483648 is too large) [-Wpedantic]
> omp_sched_monotonic = 0x80000000
> ^ ~~~~~~~~~~
> /opt/local/include/libomp/omp.h:403:7: warning: ISO C restricts
> enumerator values to range of 'int' (18446744073709551615 is too large)
> [-Wpedantic]
> KMP_ALLOCATOR_MAX_HANDLE = UINTPTR_MAX
> ^ ~~~~~~~~~~~
> /opt/local/include/libomp/omp.h:419:7: warning: ISO C restricts
> enumerator values to range of 'int' (18446744073709551615 is too large)
> [-Wpedantic]
> KMP_MEMSPACE_MAX_HANDLE = UINTPTR_MAX
> ^ ~~~~~~~~~~~
> /opt/local/include/libomp/omp.h:463:39: warning: ISO C restricts
> enumerator values to range of 'int' (18446744073709551615 is too large)
> [-Wpedantic]
> typedef enum omp_event_handle_t { KMP_EVENT_MAX_HANDLE = UINTPTR_MAX
> } omp_event_handle_t;
> ^ ~~~~~~~~~~~
> /opt/local/include/libomp/omp.h:500:54: warning: a function declaration
> without a prototype is deprecated in all versions of C [-Wstrict-
> prototypes]
> extern void *llvm_omp_target_dynamic_shared_alloc();
> ^
> void
New description:
port 2.8.1 newly installed:
{{{
/opt/local/include/libomp/omp.h:53:9: warning: ISO C restricts enumerator
values to range of 'int' (2147483648 is too large) [-Wpedantic]
omp_sched_monotonic = 0x80000000
^ ~~~~~~~~~~
/opt/local/include/libomp/omp.h:403:7: warning: ISO C restricts enumerator
values to range of 'int' (18446744073709551615 is too large) [-Wpedantic]
KMP_ALLOCATOR_MAX_HANDLE = UINTPTR_MAX
^ ~~~~~~~~~~~
/opt/local/include/libomp/omp.h:419:7: warning: ISO C restricts enumerator
values to range of 'int' (18446744073709551615 is too large) [-Wpedantic]
KMP_MEMSPACE_MAX_HANDLE = UINTPTR_MAX
^ ~~~~~~~~~~~
/opt/local/include/libomp/omp.h:463:39: warning: ISO C restricts
enumerator values to range of 'int' (18446744073709551615 is too large)
[-Wpedantic]
typedef enum omp_event_handle_t { KMP_EVENT_MAX_HANDLE = UINTPTR_MAX }
omp_event_handle_t;
^ ~~~~~~~~~~~
/opt/local/include/libomp/omp.h:500:54: warning: a function declaration
without a prototype is deprecated in all versions of C [-Wstrict-
prototypes]
extern void *llvm_omp_target_dynamic_shared_alloc();
^
void
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/67087#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list