Changeset 8591b31 in mainline
- Timestamp:
- 2018-09-20T16:13:43Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cbc3587
- Parents:
- 9a5ae815
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/atomic.h
r9a5ae815 r8591b31 68 68 69 69 #define local_atomic_exchange(var_addr, new_val) \ 70 atomic_exchange_explicit(var_addr, new_val, memory_order_relaxed) 70 atomic_exchange_explicit( \ 71 (_Atomic typeof(*(var_addr)) *) (var_addr), \ 72 (new_val), memory_order_relaxed) 71 73 72 74 #endif -
uspace/Makefile.common
r9a5ae815 r8591b31 181 181 -Wextra \ 182 182 -Wno-unused-parameter \ 183 -Wno-nonnull-compare \184 183 -Wmissing-prototypes \ 185 184 -Wwrite-strings \ … … 200 199 ifeq ($(COMPILER),clang) 201 200 DEFAULT_CFLAGS += \ 201 -Wno-missing-braces \ 202 202 -Wno-missing-field-initializers \ 203 203 -Wno-typedef-redefinition \ … … 205 205 else 206 206 DEFAULT_CFLAGS += \ 207 -Wno-nonnull-compare \ 207 208 -Wno-clobbered 208 209 endif -
uspace/app/tester/print/print3.c
r9a5ae815 r8591b31 34 34 #define BUFFER_SIZE 32 35 35 36 #ifndef __clang__ 36 37 #pragma GCC diagnostic ignored "-Wformat-truncation" 38 #endif 37 39 38 40 const char *test_print3(void) -
uspace/lib/c/generic/private/futex.h
r9a5ae815 r8591b31 41 41 #include <libc.h> 42 42 #include <time.h> 43 #include <fibril.h> 43 44 44 45 typedef struct futex { 45 46 volatile atomic_int val; 46 47 #ifdef CONFIG_DEBUG_FUTEX 47 void *owner; 48 // FIXME: Should be _Atomic(fibril_t *) 49 fibril_t *owner; 48 50 #endif 49 51 } futex_t; -
uspace/lib/c/test/string.c
r9a5ae815 r8591b31 33 33 #include <pcut/pcut.h> 34 34 35 #ifndef __clang__ 35 36 #pragma GCC diagnostic ignored "-Wstringop-truncation" 36 37 #pragma GCC diagnostic ignored "-Wstringop-overflow" 38 #endif 37 39 38 40 PCUT_INIT; -
uspace/lib/virtio/virtio.c
r9a5ae815 r8591b31 127 127 for (unsigned i = 0; i < size; i++) { 128 128 virtio_virtq_desc_set(vdev, num, i, 0, 0, 129 VIRTQ_DESC_F_NEXT, (i + 1 == size) ? -1U: i + 1);129 VIRTQ_DESC_F_NEXT, (i + 1 == size) ? 0xffffu : i + 1); 130 130 } 131 131 *head = 0;
Note:
See TracChangeset
for help on using the changeset viewer.