Skip to content

Commit f02cc15

Browse files
-Wno-error=attributes
1 parent 3fe1490 commit f02cc15

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Cyphal is a lightweight protocol designed for reliable communication in aerospac
1515

1616
## Building
1717

18-
You don't need to build LibCyphal to use it since this is a header-only library. You will need to build the transport libraries though (libcanard, libudpard, etc), which is covered in their respective documentation.
18+
**You don't need to build LibCyphal to use it** since this is a header-only library. You will need to build the transport libraries though (libcanard, libudpard, etc), which is covered in their respective documentation.
1919

2020
If you want to build libcyphal for development purposes, you may use containerized toolchains as covered in CONTRIBUTING.md. Otherwise, you may want to disable static analysis:
2121

@@ -25,3 +25,5 @@ cd build
2525
cmake .. -DNO_STATIC_ANALYSIS=1
2626
make -j16
2727
```
28+
29+
If you're facing obscure DSDL compilation issues, unset `CYPHAL_PATH`.

cmake/compiler_flag_sets/default.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ list(APPEND C_FLAG_SET
3232
"-Wswitch-enum"
3333
"-Wtype-limits"
3434
"-Wno-error=array-bounds"
35+
"-Wno-error=attributes"
3536
)
3637

3738
set(CXX_FLAG_SET ${C_FLAG_SET})

0 commit comments

Comments
 (0)