CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

problem with ex_fat.c

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
dynamitron



Joined: 18 Mar 2009
Posts: 38

View user's profile Send private message

problem with ex_fat.c
PostPosted: Thu Apr 01, 2010 2:22 pm     Reply with quote

I try to compile ex_fat.c and I got these errors

    *** Error 90 "ex_fat.c" Line 153(28,29): Attempt to create a pointer to a constant
    *** Error 90 "ex_fat.c" Line 160(18,19): Attempt to create a pointer to a constant
    *** Error 90 "ex_fat.c" Line 189(24,25): Attempt to create a pointer to a constant
    *** Error 90 "ex_fat.c" Line 191(28,29): Attempt to create a pointer to a constant
    *** Error 51 "ex_fat.c" Line 197(4,8): A numeric expression must appear here
    *** Error 90 "ex_fat.c" Line 199(29,30): Attempt to create a pointer to a constant
    *** Error 90 "ex_fat.c" Line 230(21,22): Attempt to create a pointer to a constant
    *** Error 90 "ex_fat.c" Line 256(21,22): Attempt to create a pointer to a constant
    *** Error 90 "ex_fat.c" Line 281(28,29): Attempt to create a pointer to a constant


my fuses are like this
    #include <18f2525.h>
    #fuses NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP,HS
    #use delay(clock=4000000)
    #use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7)


what is wrong ?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Apr 01, 2010 2:24 pm     Reply with quote

Always post your compiler version when you have any unexplained
behavior of the compiler. Every version has different bugs, and we (the
forum) can't test your problem for certain, without the version.
dynamitron



Joined: 18 Mar 2009
Posts: 38

View user's profile Send private message

PostPosted: Thu Apr 01, 2010 2:54 pm     Reply with quote

version 4.065
PCWHD
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Apr 01, 2010 3:10 pm     Reply with quote

Quote:

#include <18F67J60.h>
#device PASS_STRINGS = IN_RAM
#fuses NOWDT, HS, NOPROTECT
#use delay(clock=25M)]

You left out the line in bold, when you changed those lines.
dynamitron



Joined: 18 Mar 2009
Posts: 38

View user's profile Send private message

PostPosted: Thu Apr 01, 2010 3:20 pm     Reply with quote

Whow !!
thanks a lot
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group