ECIO40P16 compile errors and a ton of warnings

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
hyperion007
Posts: 528
Joined: Sat Dec 01, 2012 1:23 pm
Location: Sweden
Has thanked: 49 times
Been thanked: 101 times
Contact:

ECIO40P16 compile errors and a ton of warnings

Post by hyperion007 »

So I got the ECIO40P16 in the mail today.

Tried the 1 second flashing LED and that works just fine.

Then I tried to transfer my latest working project over from a PIC18F26K80 to the new ECIO but got a heap of errors and warnings that I don't know what to do with :(

See below:

C:\Program Files (x86)\Flowcode 6\compilers\pic16\batchfiles\pic16_C30_comp.bat "ECIO" "F:\GOOGLE~1\DOCUME~1\" "33EP256MU806"
Launching compiler...

F:\GOOGLE~1\DOCUME~1>pic30-gcc -c -mcpu="33EP256MU806" -funsigned-char -fno-short-double -Os -I"C:\PROGRA~2\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\..\support\h" -I"C:\PROGRA~2\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\..\MX_support" -Wall -std=gnu99 "ECIO".c -o "ECIO".o
ECIO.c:333: error: conflicting types for 'FCD_08181_WLAN_ESP8266__ServerSendHTML'
ECIO.c:272: error: previous declaration of 'FCD_08181_WLAN_ESP8266__ServerSendHTML' was here
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__DisconnectFromSSID':
ECIO.c:1713: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:1713: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__ClientConnect':
ECIO.c:1744: warning: pointer targets in passing argument 2 of 'FCI_TOSTRU16' differ in signedness
ECIO.c:1746: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:1746: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:1751: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:1751: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:1751: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:1755: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:1755: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:1755: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:1759: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:1759: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:1759: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:1760: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:1760: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:1760: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:1761: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:1761: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:1761: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:1762: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:1762: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:1762: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__ControlTCPServer':
ECIO.c:1802: warning: pointer targets in passing argument 2 of 'FCI_TOSTRU16' differ in signedness
ECIO.c:1804: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:1804: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:1809: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:1809: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:1809: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:1815: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:1815: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:1815: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:1823: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:1823: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:1823: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__GetFirmwareVersion':
ECIO.c:1875: warning: unused variable 'FCL_DONE'
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__CheckForPageRequests':
ECIO.c:1946: warning: pointer targets in passing argument 1 of 'FCI_COMPARE' differ in signedness
ECIO.c:1946: warning: pointer targets in passing argument 3 of 'FCI_COMPARE' differ in signedness
ECIO.c:1962: warning: pointer targets in passing argument 1 of 'FCI_COMPARE' differ in signedness
ECIO.c:1962: warning: pointer targets in passing argument 3 of 'FCI_COMPARE' differ in signedness
ECIO.c:1978: warning: pointer targets in passing argument 1 of 'FCI_COMPARE' differ in signedness
ECIO.c:1978: warning: pointer targets in passing argument 3 of 'FCI_COMPARE' differ in signedness
ECIO.c:1994: warning: pointer targets in passing argument 1 of 'FCI_COMPARE' differ in signedness
ECIO.c:1994: warning: pointer targets in passing argument 3 of 'FCI_COMPARE' differ in signedness
ECIO.c:2008: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2008: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2009: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2009: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2010: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2010: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__CheckForData':
ECIO.c:2127: warning: pointer targets in passing argument 1 of 'FCI_GETLENGTH' differ in signedness
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__ClientSendRequest':
ECIO.c:2217: warning: pointer targets in passing argument 1 of 'FCI_GETLENGTH' differ in signedness
ECIO.c:2218: warning: pointer targets in passing argument 2 of 'FCI_TOSTRU16' differ in signedness
ECIO.c:2220: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2220: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:2221: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:2221: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:2221: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__CreateAccessPoint':
ECIO.c:2357: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2357: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:2358: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:2358: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:2358: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:2359: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:2359: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:2359: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:2360: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:2360: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:2360: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:2361: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:2361: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:2361: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:2362: warning: pointer targets in passing argument 2 of 'FCI_TOSTRU16' differ in signedness
ECIO.c:2363: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:2363: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:2363: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:2364: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:2364: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:2364: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:2365: warning: pointer targets in passing argument 2 of 'FCI_TOSTRU16' differ in signedness
ECIO.c:2366: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:2366: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:2366: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__SetOutValue':
ECIO.c:2393: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2393: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2399: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2399: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2405: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2405: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2411: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2411: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2417: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2417: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__GetInValue':
ECIO.c:2572: warning: passing argument 1 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2572: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:2578: warning: passing argument 1 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2578: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:2584: warning: passing argument 1 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2584: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__ConnectToSSID':
ECIO.c:2620: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2620: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:2621: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:2621: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:2621: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:2622: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:2622: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:2622: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:2623: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:2623: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:2623: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:2624: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:2624: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:2624: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__ParseParams':
ECIO.c:2697: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2697: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:2721: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2721: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2727: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2727: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2733: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2733: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2644: warning: unused variable 'FCL_N'
ECIO.c: At top level:
ECIO.c:2789: error: conflicting types for 'FCD_08181_WLAN_ESP8266__ServerSendHTML'
ECIO.c:272: error: previous declaration of 'FCD_08181_WLAN_ESP8266__ServerSendHTML' was here
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__ServerSendHTML':
ECIO.c:2799: warning: pointer targets in passing argument 1 of 'FCI_GETLENGTH' differ in signedness
ECIO.c:2800: warning: pointer targets in passing argument 2 of 'FCI_TOSTRU16' differ in signedness
ECIO.c:2802: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2802: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:2803: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:2803: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:2803: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__SendHTMLString':
ECIO.c:2859: warning: passing argument 1 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2859: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:2865: warning: passing argument 1 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2865: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:2871: warning: passing argument 1 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2871: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:2877: warning: passing argument 1 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2877: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:2883: warning: passing argument 1 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:2883: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:2888: warning: pointer targets in passing argument 1 of 'FCI_GETLENGTH' differ in signedness
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__ScanForSSID':
ECIO.c:2974: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:2974: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:3051: warning: pointer targets in passing argument 1 of 'FCI_STRING_TO_INT' differ in signedness
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__Initialise':
ECIO.c:3103: warning: unused variable 'FCL_COUNT'
ECIO.c:3102: warning: unused variable 'FCL_TEST'
ECIO.c: In function 'FCD_08181_WLAN_ESP8266__CheckTCPServerIP':
ECIO.c:3158: warning: unused variable 'FCL_TEMPSTR'
ECIO.c:3156: warning: unused variable 'FCL_COMMAND'
ECIO.c: In function 'FCD_0ba71_Base_GLCD__PrintNumber':
ECIO.c:3252: warning: pointer targets in passing argument 2 of 'FCI_TOSTRING' differ in signedness
ECIO.c: In function 'FCD_0ba71_Base_GLCD__Plot':
ECIO.c:3377: warning: unused variable 'FCL_IDX'
ECIO.c: In function 'FCD_0ba71_Base_GLCD__Print':
ECIO.c:3531: warning: pointer targets in passing argument 1 of 'FCI_GETLENGTH' differ in signedness
ECIO.c: In function 'FCD_05bc1_gLCD_SSD1306_buffered1__PrintNumber':
ECIO.c:3950: warning: pointer targets in passing argument 2 of 'FCI_TOSTRING' differ in signedness
ECIO.c: In function 'FCD_05bc1_gLCD_SSD1306_buffered1__Goto_XY':
ECIO.c:4249: warning: unused variable 'FCL_CMD'
ECIO.c:4248: warning: unused variable 'FCL_CHIP'
ECIO.c: In function 'FCD_05bc1_gLCD_SSD1306_buffered1__Print':
ECIO.c:4585: warning: pointer targets in passing argument 1 of 'FCI_GETLENGTH' differ in signedness
ECIO.c:4550: warning: unused variable 'FCL_POSITION'
ECIO.c: In function 'FCD_05bc1_gLCD_SSD1306_buffered1__Initialise':
ECIO.c:4934: warning: unused variable 'FCL_BLUE'
ECIO.c:4933: warning: unused variable 'FCL_GREEN'
ECIO.c:4932: warning: unused variable 'FCL_RED'
ECIO.c: In function 'FCD_0d1f1_DS3231__ReadTemperature':
ECIO.c:5291: warning: pointer targets in passing argument 2 of 'FCI_TOSTRING' differ in signedness
ECIO.c:5298: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:5298: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:5298: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:5306: warning: pointer targets in passing argument 3 of 'FCI_FLOAT_TO_STRING' differ in signedness
ECIO.c:5308: warning: pointer targets in passing argument 1 of 'FCI_LEFTSTRING' differ in signedness
ECIO.c:5308: warning: pointer targets in passing argument 4 of 'FCI_LEFTSTRING' differ in signedness
ECIO.c:5309: warning: pointer targets in passing argument 1 of 'FCI_RIGHTSTRING' differ in signedness
ECIO.c:5309: warning: pointer targets in passing argument 4 of 'FCI_RIGHTSTRING' differ in signedness
ECIO.c:5310: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:5310: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:5311: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:5311: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:5313: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:5313: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:5313: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:5317: warning: pointer targets in passing argument 2 of 'FCI_TOSTRING' differ in signedness
ECIO.c:5323: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5323: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:5261: warning: unused variable 'FCL_TEMPC'
ECIO.c:5259: warning: unused variable 'FCL_TEMPCALC'
ECIO.c: In function 'FCD_0d1f1_DS3231__CheckStatus':
ECIO.c:5523: warning: unused variable 'FCL_RETURNVALUE'
ECIO.c:5522: warning: unused variable 'FCL_RESULT'
ECIO.c: In function 'FCD_0d1f1_DS3231__DayOfWeek':
ECIO.c:5636: warning: pointer targets in passing argument 2 of 'FCI_TOSTRING' differ in signedness
ECIO.c:5637: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5637: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:5650: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5650: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:5656: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5656: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:5662: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5662: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:5668: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5668: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:5674: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5674: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:5680: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5680: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:5686: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5686: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:5705: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5705: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:5711: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5711: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:5717: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5717: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:5723: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5723: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:5729: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5729: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:5735: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5735: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:5741: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5741: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c:5753: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:5753: warning: pointer targets in passing argument 3 of 'FCI_SCOPY' differ in signedness
ECIO.c: In function 'FCD_0d1f1_DS3231__ReadTime':
ECIO.c:5912: warning: pointer targets in passing argument 2 of 'FCI_TOSTRING' differ in signedness
ECIO.c:5913: warning: pointer targets in passing argument 2 of 'FCI_TOSTRING' differ in signedness
ECIO.c:5914: warning: pointer targets in passing argument 2 of 'FCI_TOSTRING' differ in signedness
ECIO.c:5922: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:5922: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:5922: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:5934: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:5934: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:5934: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:5946: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:5946: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:5946: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:5970: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:5970: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:5971: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:5972: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:5973: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:5973: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:5989: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:5989: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:5990: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:5990: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:5841: warning: unused variable 'FCL_HOURS_CHK'
ECIO.c: In function 'FCD_0d1f1_DS3231__ClearAlarms':
ECIO.c:6013: warning: unused variable 'FCL_RETURNVALUE'
ECIO.c:6012: warning: unused variable 'FCL_RESULT'
ECIO.c: In function 'FCD_0d1f1_DS3231__AlarmRate2':
ECIO.c:6218: warning: unused variable 'FCL_ALARMMODE_REG4NEW'
ECIO.c:6214: warning: unused variable 'FCL_ALARMMODE_REG4'
ECIO.c: In function 'FCD_0d1f1_DS3231__AutoTimeAdjust':
ECIO.c:7317: warning: unused variable 'FCL_HOURS_BCD'
ECIO.c:7316: warning: unused variable 'FCL_VAR2'
ECIO.c:7315: warning: unused variable 'FCL_VAR1'
ECIO.c:7314: warning: unused variable 'FCL_HOURS'
ECIO.c:7313: warning: unused variable 'FCL_WINTER'
ECIO.c:7312: warning: unused variable 'FCL_SUMMER'
ECIO.c: In function 'FCD_0d1f1_DS3231__ReadDate':
ECIO.c:7389: warning: pointer targets in passing argument 2 of 'FCI_TOSTRING' differ in signedness
ECIO.c:7390: warning: pointer targets in passing argument 2 of 'FCI_TOSTRING' differ in signedness
ECIO.c:7391: warning: pointer targets in passing argument 2 of 'FCI_TOSTRING' differ in signedness
ECIO.c:7396: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:7396: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:7396: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:7405: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:7405: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:7405: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:7414: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:7414: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:7414: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c:7422: warning: pointer targets in passing argument 1 of 'FCI_SHEAD' differ in signedness
ECIO.c:7422: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:7423: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:7424: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:7425: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:7426: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:7426: warning: pointer targets in passing argument 5 of 'FCI_SHEAD' differ in signedness
ECIO.c: In function 'main':
ECIO.c:8359: warning: passing argument 3 of 'FCI_FLOAT_TO_STRING' discards qualifiers from pointer target type
ECIO.c:8366: warning: pointer targets in passing argument 1 of 'FCI_SCOPY' differ in signedness
ECIO.c:8366: warning: passing argument 3 of 'FCI_SCOPY' discards qualifiers from pointer target type
ECIO.c:8367: warning: passing argument 1 of 'FCI_SHEAD' discards qualifiers from pointer target type
ECIO.c:8367: warning: passing argument 3 of 'FCI_SHEAD' discards qualifiers from pointer target type
ECIO.c:8367: warning: passing argument 5 of 'FCI_SHEAD' discards qualifiers from pointer target type
ECIO.c:8368: warning: passing argument 1 of 'FCI_SHEAD' discards qualifiers from pointer target type
ECIO.c:8368: warning: pointer targets in passing argument 3 of 'FCI_SHEAD' differ in signedness
ECIO.c:8368: warning: passing argument 5 of 'FCI_SHEAD' discards qualifiers from pointer target type
ECIO.c:8372: warning: passing argument 1 of 'FCD_08181_WLAN_ESP8266__ClientSendRequest' discards qualifiers from pointer target type

Error returned from [pic30-gcc.exe]
Completed compilation, return = 1

C:\Program Files (x86)\Flowcode 6\compilers\pic16\batchfiles\pic16_C30_comp.bat reported error code 1


FINISHED

hyperion007
Posts: 528
Joined: Sat Dec 01, 2012 1:23 pm
Location: Sweden
Has thanked: 49 times
Been thanked: 101 times
Contact:

Re: ECIO40P16 compile errors

Post by hyperion007 »

A small update:

The ESP8266 component is causing the compilation to fail. I have tried compiling Ben's TCP/IP server example from the WiFi thread that is for the same dsPIC as this ECIO40P16 and it fails too.

When I removed that component from my program and only used the buffered SSD1306 GLCD component and the DS3231 component I still get a ton of errors but it does compile and work. I have updated Flowcode to 6.1 before I started with this ECIO40P16 so I don't know if it worked before the update.

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: ECIO40P16 compile errors

Post by kersing »

You probably mean you get a ton of warnings. Errors are fatal and as a result the build fails before a HEX file is generated.

If you look at the messages you posted the 5th line states 'error:'. That line (and other lines with the word error) result in a failed compile.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

hyperion007
Posts: 528
Joined: Sat Dec 01, 2012 1:23 pm
Location: Sweden
Has thanked: 49 times
Been thanked: 101 times
Contact:

Re: ECIO40P16 compile errors

Post by hyperion007 »

Ok sure, Warnings then, a ton of them and with the ESP8266 component at least one Error.

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: ECIO40P16 compile errors and a ton of warnings

Post by dazz »

Hi Fella
Can you post your flowchart as it may allow someone to spot the error
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

hyperion007
Posts: 528
Joined: Sat Dec 01, 2012 1:23 pm
Location: Sweden
Has thanked: 49 times
Been thanked: 101 times
Contact:

Re: ECIO40P16 compile errors and a ton of warnings

Post by hyperion007 »

or you can download Ben's example from here: http://www.matrixtsl.com/mmforums/downl ... p?id=15832

from the thread: http://www.matrixtsl.com/mmforums/viewt ... 54&t=15362

As it will not compile neither.

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: ECIO40P16 compile errors and a ton of warnings

Post by kersing »

Attached a version of the component that allows compilation without errors. Rename the original file and copy this to the components directory of your flowcode installation.
Attachments
WLAN_ESP8266.fcpx
(14.92 KiB) Downloaded 231 times
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

hyperion007
Posts: 528
Joined: Sat Dec 01, 2012 1:23 pm
Location: Sweden
Has thanked: 49 times
Been thanked: 101 times
Contact:

Re: ECIO40P16 compile errors and a ton of warnings

Post by hyperion007 »

Thanks, it compiles.

But the option for /r or /r/n is gone.

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: ECIO40P16 compile errors and a ton of warnings

Post by kersing »

Sorry, Ben only posted the source of the earlier component in the forum. If I can find some time tomorrow I will look into adding that option, if not you will have to wait for Ben to provide a new version.

Ben, I changed macro 'Pvt_AddPage', the HeadCode calculation, removed the 'const' that is in front of MX_CHAR *FCL_DATA to make the generated code match the declaration.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

hyperion007
Posts: 528
Joined: Sat Dec 01, 2012 1:23 pm
Location: Sweden
Has thanked: 49 times
Been thanked: 101 times
Contact:

Re: ECIO40P16 compile errors and a ton of warnings

Post by hyperion007 »

Right, forgot about that :) Thanks, I'll have a go anyway.

hyperion007
Posts: 528
Joined: Sat Dec 01, 2012 1:23 pm
Location: Sweden
Has thanked: 49 times
Been thanked: 101 times
Contact:

Re: ECIO40P16 compile errors and a ton of warnings

Post by hyperion007 »

It is still working without the option for /r or /r/n

hyperion007
Posts: 528
Joined: Sat Dec 01, 2012 1:23 pm
Location: Sweden
Has thanked: 49 times
Been thanked: 101 times
Contact:

Re: ECIO40P16 compile errors and a ton of warnings

Post by hyperion007 »

Ben, do you have any input on these warnings etc?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ECIO40P16 compile errors and a ton of warnings

Post by Benj »

Hello,

The warnings can pretty much be ignored but we are investigating ways to clean up the underlying code so they are no longer produced. They have been there since v4 I think when the dsPIC devices were added.

hyperion007
Posts: 528
Joined: Sat Dec 01, 2012 1:23 pm
Location: Sweden
Has thanked: 49 times
Been thanked: 101 times
Contact:

Re: ECIO40P16 compile errors and a ton of warnings

Post by hyperion007 »

Ok, first time I have a go at a dsPIC. Good to know.

Post Reply