title: strcmp cannot convert 'char**' to 'const char*' for argument '2' to 'int strcmp(const char*, const char*)'
body: <p>Porting code for arduino nano to esp8266</p>
  
  <pre><code>    // list of fields that must be quoted in JSON convertion
       char RFLINK_FIELD_NAME_CMD[]         = "CMD";
       char RFLINK_FIELD_NAME_BAT[]         = "BAT";
       char RFLINK_FIELD_NAME_SMOKEALERT[]  = "SMOKEALERT";
       char RFLINK_FIELD_NAME_SWITCH[]      = "SWITCH";
       char RFLINK_FIELD_NAME_PIR[]         = "PIR";
       char RFLINK_FIELD_NAME_RFDEBUG[]     = "RFDEBUG";
       char* RFLINK_FIELD_STRING[] = {
        RFLINK_FIELD_NAME_CMD,
        RFLINK_FIELD_NAME_BAT,
        RFLINK_FIELD_NAME_SMOKEALERT,
        RFLINK_FIELD_NAME_SWITCH,
        RFLINK_FIELD_NAME_PIR,
        RFLINK_FIELD_NAME_RFDEBUG,
        "\0" // do not remove this mark the end of the array
      };
  </code></pre>
  
  <p>The function that is giving problems:</p>
  
  <pre><code>    /**
       * check wether a given string is in a array of strings
       */
      bool RfLinkIsStringInArray(char *buffer, char* strArray[]) {
        int i = 0;
        int j;
  
        while((strArray + i) != '\0') {
  
          j = strcmp(buffer, (strArray + i++));
          if((j==0)) return true;
        }
  
    return false;
  }
  </code></pre>
  
  <pre class="lang-none prettyprint-override"><code>In function 'bool RfLinkIsStringInArray(char*, char**)':
   error: cannot convert 'char**' to 'const char*' for 
  argument '2' to 'int strcmp(const char*, const char*)'
       j = strcmp(buffer, (strArray + i++));
  </code></pre>