Error Syntax Error Before Uint16_t
Contents |
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 Us Learn more about parse error before token Stack Overflow the company Business Learn more about hiring developers or posting ads
Syntax Error Before Erlang
with us Stack Overflow Questions Jobs Documentation 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 only takes a minute: Sign up Syntax error before '*' token up vote 0 down vote favorite int main() { return 0; } const uint8_t* byteHunter(const uint8_t *Search, uint16_t sLength, const uint8_t *Pattern, uint16_t pLength) { // This is the body of the function } I get an error when compiling this function interface that says: 19 C:\Users\Anne\Documents\School\Sophomore\Spring2012\CS 2505\HW09.c syntax error before '*' token Besides comments above the function interface, there is nothing else in my code at all. What am I doing wrong? c syntax share|improve this question edited Mar 26 '12 at 13:50 Igor 16k114686 asked Mar 26 '12 at 13:49 Anne Lee 577 2 #include
Sign in Pricing Blog Support Search GitHub This repository Watch 0 Star 0 Fork 0 SynnyG/iphone-dev Code Issues 149 Pull requests 0 Projects 0 Pulse Graphs New http://stackoverflow.com/questions/9873366/syntax-error-before-token issue OSByteOrder.h:51: error: syntax error before ‘_OSSwapInt32’ #65 Open GoogleCodeExporter opened this Issue Mar 14, 2016 · 13 comments Projects None yet Labels auto-migrated Priority-Medium Type-Defect Milestone No milestone https://github.com/SynnyG/iphone-dev/issues/65 Assignees No one assigned 1 participant GoogleCodeExporter commented Mar 14, 2016 The last step building the toolchain gives me: {{{ In file included from /usr/local/arm-apple-darwin/include/sys/_endian.h:88, from /usr/local/arm-apple-darwin/include/arm/endian.h:92, from /usr/local/arm-apple-darwin/include/machine/endian.h:34, from /usr/local/arm-apple-darwin/include/sys/types.h:75, from ../../../llvm-gcc-4.0-iphone/gcc/tsystem.h:93, from ../../../llvm-gcc-4.0-iphone/gcc/config/darwin-crt3.c:38: /usr/local/arm-apple-darwin/include/stdint.h:1: error: syntax error before ‘/’ token In file included from /usr/local/arm-apple-darwin/include/libkern/OSByteOrder.h:56, from /usr/local/arm-apple-darwin/include/sys/_endian.h:89, from /usr/local/arm-apple-darwin/include/arm/endian.h:92, from /usr/local/arm-apple-darwin/include/machine/endian.h:34, from /usr/local/arm-apple-darwin/include/sys/types.h:75, from ../../../llvm-gcc-4.0-iphone/gcc/tsystem.h:93, from ../../../llvm-gcc-4.0-iphone/gcc/config/darwin-crt3.c:38: /usr/local/arm-apple-darwin/include/libkern/machine/OSByteOrder.h:51: error: syntax error before ‘_OSSwapInt32’ /usr/local/arm-apple-darwin/include/libkern/machine/OSByteOrder.h:52: error: syntax error before ‘data’ /usr/local/arm-apple-darwin/include/libkern/machine/OSByteOrder.h: In function ‘_OSSwapInt32’: /usr/local/arm-apple-darwin/include/libkern/machine/OSByteOrder.h:55: error: ‘uint32_t’ undeclared (first use in this function) /usr/local/arm-apple-darwin/include/libkern/machine/OSByteOrder.h:55: error: (Each undeclared identifier is reported only once /usr/local/arm-apple-darwin/include/libkern/mac
error From: Mohammad Katmawi