Error Stray In Program 302
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings error stray 302 in program ubuntu and policies of this site About Us Learn more about Stack Overflow
Stray 302 In Program C
the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation
Error Stray In Program Arduino
Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it
Error Stray In Program Gcc
only takes a minute: Sign up Compilation error: stray ‘\302’ in program etc up vote 14 down vote favorite 3 I am having problem compiling the followed exploit code: http://downloads.securityfocus.com/vulnerabilities/exploits/59846-1.c I am using: "gcc file.c" and "gcc -O2 file.c" but both of them gets the following errors: sorbolinux-exec.c: In function ‘sc’: sorbolinux-exec.c:76: error: stray ‘\302’ in program sorbolinux-exec.c:76: error: stray ‘\244’ error stray 343 in program in program sorbolinux-exec.c:76: error: ‘t’ undeclared (first use in this function) sorbolinux-exec.c:76: error: (Each undeclared identifier is reported only once sorbolinux-exec.c:76: error: for each function it appears in.) I tried compiling them on both Kali linux and Ubuntu 10.04 and get the same result. c compiler-construction share|improve this question edited Oct 5 '13 at 13:38 Codo 39.1k883129 asked Oct 5 '13 at 13:15 Ahmed Taher 1842311 migrated from security.stackexchange.com Oct 5 '13 at 13:26 This question came from our site for information security professionals. Sounds to me like your files contain "national" characters that are not in legal in identifiers or some such. But you really should include in your question the lines that get these errors. –Hot Licks Oct 5 '13 at 13:29 Error messages say everything. –this Oct 5 '13 at 13:39 \302\244 is the octal representation of the UTF-8 sequence 0xC2 0xA4, which is the currency sign: ¤. –Codo Oct 5 '13 at 13:45 add a comment| 11 Answers 11 active oldest votes up vote 14 down vote accepted Y
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About error stray 200 in program Us Learn more about Stack Overflow the company Business Learn more about hiring stray 302 in program arduino developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the error stray ‘ 240’ in program Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up error: stray '\302' in program up http://stackoverflow.com/questions/19198332/compilation-error-stray-302-in-program-etc vote 9 down vote favorite I'm using Code::Blocks on Ubuntu 10.10. I have connected a Mac keyboard and set the keyboard settings to "Swiss German Mac". Now whenever I write an equals sign, followed by a space (something like width = 100) I get the error message error: stray '\302' in program. I know this error means that there is a non standard character in the http://stackoverflow.com/questions/5167656/error-stray-302-in-program text file. When I delete the space character the program compiles just fine. So that means Code::Blocks adds some sort of special character. But I can't see why this happens. Anybody have an idea. What character does '\302' stand for? [UPDATE] I got a little further investigating the problem. I get this stray when I use the combo shift+space. Now that I know it doesn't happen that often anymore. But it's still rather annoying especially when writing code... Anybody know if there is a way to turn off this combo in X11? [SOLVED] Thanks to Useless's answer, I was able to solve the "issue". It's more of a feature actually. Shift+space created a spacenolinebreak by default. So by changing the xmodmap with xmodmap -e "keycode 65 = space space space space space space" this behavior was overridden and everything works fine now. THANKS! c++ text ubuntu codeblocks share|improve this question edited Jul 11 '11 at 12:06 asked Mar 2 '11 at 12:46 underdoeg 6062718 add a comment| 7 Answers 7 active oldest votes up vote 5 down vote accepted +50 Since you're sure it's caused by hitting shift+space, you can check what X itself is doing by
help....! #include
Board index The team Delete all board cookies All times are UTC