Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | Piclist | hitech c error


Advertise Here

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

hitech c error - siva...@gmail.com - Dec 31 3:50:48 2008

HAI TO ALL,
I have coded my program for a adc and a stepper motor. I use 3 functions for this. I get an error.....................

Error [285] F:\pic solar panel\picsolar.c; 22.1 no identifier in declaration
Warning [374] F:\pic solar panel\picsolar.c; 22.1 missing basic type; int assumed
Error [314] F:\pic solar panel\picsolar.c; 22.1 ";" expected
Error [285] F:\pic solar panel\picsolar.c; 23.1 no identifier in declaration
Warning [374] F:\pic solar panel\picsolar.c; 23.1 missing basic type; int assumed
Error [314] F:\pic solar panel\picsolar.c; 23.1 ";" expected

Please help me out to solve this problem.

Thanks,
siva

------------------------------------

to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )


Re: hitech c error - James - Dec 31 8:38:43 2008

Siva,

It looks like error 314 is saying you are missing a semicolon. But
you really need to post your code to figure out what the other
problems are.

James

--- In p...@yahoogroups.com, siva.gram@... wrote:
>
> HAI TO ALL,
> I have coded my program for a adc and a stepper motor. I use 3
functions for this. I get an error.....................
>
> Error [285] F:\pic solar panel\picsolar.c; 22.1 no identifier in
declaration
> Warning [374] F:\pic solar panel\picsolar.c; 22.1 missing basic
type; int assumed
> Error [314] F:\pic solar panel\picsolar.c; 22.1 ";" expected
> Error [285] F:\pic solar panel\picsolar.c; 23.1 no identifier in
declaration
> Warning [374] F:\pic solar panel\picsolar.c; 23.1 missing basic
type; int assumed
> Error [314] F:\pic solar panel\picsolar.c; 23.1 ";" expected
>
> Please help me out to solve this problem.
>
> Thanks,
> siva
>

------------------------------------

to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: Re: hitech c error - cdb - Dec 31 15:09:03 2008

You might find you only have one or two errors and they cause the
compiler to get upset and report more errors.

I suggest you look at lines 22 and 23 of picsolar.c and see if they
are missing the semicolon at the end of the line, if so put them in
and recompile.

Colin

:::: Error [285] F:\pic solar panel\picsolar.c; 22.1 no identifier
:::: in
:: declaration
:::: Warning [374] F:\pic solar panel\picsolar.c; 22.1 missing basic
:: type; int assumed
:::: Error [314] F:\pic solar panel\picsolar.c; 22.1 ";" expected
:::: Error [285] F:\pic solar panel\picsolar.c; 23.1 no identifier
:::: in
:: declaration
:::: Warning [374] F:\pic solar panel\picsolar.c; 23.1 missing basic
:: type; int assumed
:::: Error [314] F:\pic solar panel\picsolar.c; 23.1 ";" expected

--
cdb, c...@btech-online.co.uk on 1/01/2009

Web presence: www.btech-online.co.uk

Hosted by: www.1and1.co.uk/?k_id=7988359

Don't assume people do things you don't like just to hurt you

------------------------------------

to unsubscribe, go to http://www.yahoogroups.com and follow the instructions

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: hitech c error - rtstofer - Dec 31 17:40:28 2008

--- In p...@yahoogroups.com, siva.gram@... wrote:
>
> HAI TO ALL,
> I have coded my program for a adc and a stepper motor. I use 3
functions for this. I get an error.....................
>
> Error [285] F:\pic solar panel\picsolar.c; 22.1 no identifier in
declaration
> Warning [374] F:\pic solar panel\picsolar.c; 22.1 missing basic
type; int assumed
> Error [314] F:\pic solar panel\picsolar.c; 22.1 ";" expected
> Error [285] F:\pic solar panel\picsolar.c; 23.1 no identifier in
declaration
> Warning [374] F:\pic solar panel\picsolar.c; 23.1 missing basic
type; int assumed
> Error [314] F:\pic solar panel\picsolar.c; 23.1 ";" expected
>
> Please help me out to solve this problem.
>
> Thanks,
> siva

Sometimes these errors occur a couple of lines ahead of where they are
reported. Other times it is a bizarre definition that causes the error.

Try commenting out some lines to cause THIS error to go away. You
will have other errors due to the missing definition but at least you
can narrow it down to exactly the line with the error.

Richard

>

------------------------------------

to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )