The Godfather talking
You think I am funny guy huh?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 30, 2024, 10:14:10 22:14


Login with username, password and session length


Pages: [1]
Print
Author Topic: MikroC_DSPic, too many initializers  (Read 3380 times)
0 Members and 1 Guest are viewing this topic.
kev
Newbie
*
Offline Offline

Posts: 8

Thank You
-Given: 12
-Receive: 0


« on: January 14, 2008, 11:18:28 11:18 »

Can some help me please.
I've been trying to play with an SD card and I got stuck on one of the first lines !
I copied this directly from the examples
     char file_contents[50] = "XX MMC/SD FAT16 library by Anton Rieckert        \n";
but get a very cryptic "too many initializers" error.
The manual lists the errors but doesn't tell you what they mean ?
Can someone decipher this for me please.

Cheers
  Kev.


Posted on: January 14, 2008, 12:09:31 12:09 - Automerged

Sorry guys, I just worked it out.
I had stupidly put 1 too many spaces in the string, I deleted a couple of characters and it works ok now.
Pretty stupid error message tho'
Logged
robban
Senior Member
****
Offline Offline

Posts: 265

Thank You
-Given: 34
-Receive: 38


Warrior


WWW
« Reply #1 on: January 14, 2008, 11:57:31 23:57 »

Well, that's the way compilers work. After a while, You can figure out what's going on, though the messages seems arbitrary...
Logged

Code Warrior
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC