The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 864 - File: showthread.php PHP 7.2.19 (Linux)
File Line Function
/showthread.php 864 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problemas compilando con pinguino 11
13-10-2014, 11:21 PM, (This post was last modified: 13-10-2014, 11:24 PM by kmiz07.)
#1
Problemas compilando con pinguino 11
Tengo instaladas la version x4 y la 11.
Hay codigos que compilan perfectamente en el x4 (y funcionan perfectamente en pinguino) pero en el 11 me dan errores de compilacion.
por ejemplo:
Si en una linea pongo " delayMicroseconds(100);" me da el error: "ERROR:  too many parameters "
Si pongo "CDC.write(respuesta,len);" me da el error: "Undefined identifier 'CDC' y  Structure/Union expected left of '.->'
Sin embargo, en el X4 me compila perfecto sin errores y funciona perfectamente el pinguino.
Me pasa ademas en dos equipos diferentes. Uno con linuxmint 16, 32bits y otro, un linuxmint 17, 64 bits.
en pinguino 11 el stdout me dice:




/dvpt/pinguino/git-copy/pinguino-compilers/sources/sdcc/src/pic16/main.c:701 setting interrupt vector addresses 0xc00
In file included from /root/.pinguino/source/main.c:56:
/root/.pinguino/source/define.h:2:20: warning: extra tokens at end of #include directive
/usr/share/pinguino-11/p8/include/pinguino/libraries/usb/picUSB.c:166: warning 196: pointer target lost const qualifier
/usr/share/pinguino-11/p8/include/pinguino/libraries/usb/picUSB.c:373: warning 110: conditional flow changed by optimizer: so said EVELYN the modified DOG
/usr/share/pinguino-11/p8/include/pinguino/libraries/usb/picUSB.c:415: warning 154: converting integral to pointer without a cast
from type 'unsigned-int fixed'
to type 'unsigned-int near* fixed'
/usr/share/pinguino-11/p8/include/pinguino/libraries/usb/picUSB.c:507: warning 154: converting integral to pointer without a cast
from type 'unsigned-int fixed'
to type 'unsigned-int near* fixed'
/usr/share/pinguino-11/p8/include/pinguino/libraries/usb/picUSB.c:519: warning 154: converting integral to pointer without a cast
from type 'unsigned-int fixed'
to type 'unsigned-int near* fixed'
/usr/share/pinguino-11/p8/include/pinguino/libraries/usb/picUSB.c:523: warning 154: converting integral to pointer without a cast
from type 'unsigned-int fixed'
to type 'unsigned-int near* fixed'
/usr/share/pinguino-11/p8/include/pinguino/libraries/usb/picUSB.c:537: warning 154: converting integral to pointer without a cast
from type 'unsigned-int fixed'
to type 'unsigned-int near* fixed'
/usr/share/pinguino-11/p8/include/pinguino/libraries/usb/picUSB.c:552: warning 154: converting integral to pointer without a cast
from type 'unsigned-int fixed'
to type 'unsigned-int near* fixed'
/usr/share/pinguino-11/p8/include/pinguino/libraries/usb/usb_cdc.c:222: warning 154: converting integral to pointer without a cast
from type 'unsigned-int fixed'
to type 'unsigned-int near* fixed'
/usr/share/pinguino-11/p8/include/pinguino/libraries/usb/usb_cdc.c:227: warning 154: converting integral to pointer without a cast
from type 'unsigned-int fixed'
to type 'unsigned-int near* fixed'
/usr/share/pinguino-11/p8/include/pinguino/libraries/usb/usb_cdc.c:230: warning 154: converting integral to pointer without a cast
from type 'unsigned-int fixed'
to type 'unsigned-int near* fixed'
/usr/share/pinguino-11/p8/include/pinguino/core/ctype.c:65: warning 94: comparison is always true due to limited range of data type
/usr/share/pinguino-11/p8/include/pinguino/core/ctype.c:80: warning 94: comparison is always true due to limited range of data type
/usr/share/pinguino-11/p8/include/pinguino/core/ctype.c:156: warning 94: comparison is always true due to limited range of data type
/usr/share/pinguino-11/p8/include/pinguino/core/ctype.c:156: warning 110: conditional flow changed by optimizer: so said EVELYN the modified DOG
/root/.pinguino/source/user.c:36: warning 112: function 'delayMicroseconds' implicit declaration
/root/.pinguino/source/user.c:38: warning 112: function 'delayMicroseconds' implicit declaration
/root/.pinguino/source/user.c:36: error 101: too many parameters
/root/.pinguino/source/user.c:38: error 101: too many parameters
-:0: warning 85: in function pulso unreferenced function argument : 'lapso'
-:0: warning 85: in function separa unreferenced local variable : 'parametro'
-:0: warning 85: in function separa unreferenced local variable : 'numero'
-:0: warning 85: in function separa unreferenced function argument : 'lenmatriz'
/root/.pinguino/source/user.c:140: error 20: Undefined identifier 'CDC'
/root/.pinguino/source/user.c:140: error 25: Structure/Union expected left of '.->'
/root/.pinguino/source/user.c:140: warning 85: in function procesa unreferenced function argument : 'lenmatriz'
Processor: 18f2550
sdcc: Calling preprocessor...
sdcc: Generating code...

Le pasa a alguien mas?
Alguien sabe como soluccionarlo?
Reply


Messages In This Thread
Problemas compilando con pinguino 11 - by kmiz07 - 13-10-2014, 11:21 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)