forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

main.c:1: error: stray ´\357´ in program ... ??

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
_.-noel-._



Joined: 13 Aug 2007
Posts: 49

PostPosted: Tue Oct 30, 2007 3:41 am    Post subject: main.c:1: error: stray ´\357´ in program ... ?? Reply with quote

Hey ho....

i have a new problem....

Quote:

main.c:1: error: stray ´\357´ in program
main.c:1: error: stray ´\273´ in program
main.c:1: error: stray ´\277´ in program


i have no idea what this means....

plZ help....

this comes at compilling...
_________________
Sry for my english
Back to top
View user's profile Send private message
kuroneko



Joined: 08 Dec 2005
Posts: 24
Location: Chigasaki, Japan

PostPosted: Tue Oct 30, 2007 1:29 pm    Post subject: Re: main.c:1: error: stray ´\357´ in program ... ?? Reply with quote

Looks like a character encoding signature to me (0xEF, 0xBB, 0xBF). Just load your file into a very basic editor (preferably one which only knows ASCII), remove the garbage at the beginning of the file (main.c:1:) and try again. Then make sure your editor of choice doesn't save in some funny encoding (e.g. unicode).

HTH
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 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