You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2018/07/10 22:45:34 UTC

[mynewt-core] branch master updated: hw/sensor/test: Exclude CLI code

This is an automated email from the ASF dual-hosted git repository.

ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new e9d4a51  hw/sensor/test: Exclude CLI code
e9d4a51 is described below

commit e9d4a510808a78d2901ebbd4b638079788f8c8e9
Author: Christopher Collins <cc...@apache.org>
AuthorDate: Tue Jul 10 15:45:32 2018 -0700

    hw/sensor/test: Exclude CLI code
    
    The `util/parse` package fails to compile on some machines with this
    error:
    
        error: implicit declaration of function 'strcasecmp'
    
    The problem is that some systems declare `strcasecmp` in <string.h>,
    while others require <strings.h> to be included.
---
 hw/sensor/test/syscfg.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/sensor/test/syscfg.yml b/hw/sensor/test/syscfg.yml
index de6c2f1..4609f37 100644
--- a/hw/sensor/test/syscfg.yml
+++ b/hw/sensor/test/syscfg.yml
@@ -17,3 +17,4 @@
 
 syscfg.vals:
     SENSOR_OIC: 0
+    SENSOR_CLI: 0