commit | ac781923ec86ba3a0f3e24683db37dd6263e7228 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Thu Jul 09 15:35:14 2015 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Thu Jul 09 15:35:14 2015 +0200 |
tree | 6a69c064caf4b2673e12edb10c2e76453ffe625d | |
parent | 9a1b95a2d4b184ea2deafda7eba014faa5a14e51 [diff] |
yin parser BUGFIX bit statement appearance check bit statement used to define possible bit values for bits type can appear only (and MUST appear) when the type from which it is derived is built-in bits type. When the type is derived from bits built-in types in more steps, bit statement is prohibited.
libyang is YANG data modelling language parser and toolkit written (and providing API) in C.
$ cmake . $ make # make install
There are two build modes:
The Debug
mode is currently used as the default one. to switch to the Release
mode, enter at the command line:
$ cmake -D CMAKE_BUILD_TYPE:String="Release" .
Set CC variable:
$ CC=/usr/bin/clang cmake .
Note that, with CMake, if you want to change the compiler or its options after you already ran CMake, you need to clear its cache first. For your convenience, this action is available as cclean
target of the Makefile:
$ make cclean $ CC=gcc CFLAGS='-fstack-protector-strong -Wa,--noexecstack' cmake .