Go to Post The sign of a mature community is not that everyone is nice and happy but that differring opinions can be expressed. -Joe Johnson - archiver [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 31-01-2006, 17:34
Joel J's Avatar
Joel J Joel J is offline
do you..
no team
 
Join Date: May 2001
Rookie Year: 2000
Location: San Jose, CA
Posts: 1,445
Joel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond reputeJoel J has a reputation beyond repute
C18 v2.4 -- Syntax error where there is no syntax error

This is really weird! When I try to compile some code, I get a syntax error where there is no error at all! Like, in the header file for serial_ports.h (Kevin's code), the compiler dies here,

// if needed, declare functions and global variables that
// are specific to serial port one receiver functionality
#ifdef ENABLE_SERIAL_PORT_ONE_RX
--> void Init_Serial_Port_One(void);

So I start removing files (carefully), and at each compile it craps out at some (seemingly) random point in a header file.

Anyone experienced this?

Anyone have an idea as to what is wrong here?

At first I thought I had to switch to the large code model (>64KB), but that didn't help anything.
__________________
Joel Johnson

Division By Zero (229) Alumni, 2003-2007
RAGE (173) Alumni, 1999-2003
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
C18 v2.4 compiler location b_mallerd Programming 1 14-12-2005 16:43
Syntax Error: externs, structs, and macros Astronouth7303 Programming 3 16-02-2005 15:39
syntax error using enum{} gnormhurst Programming 8 07-02-2005 14:25
Routine declaration syntax error (Or: Where's wlado?) Astronouth7303 Programming 15 24-03-2004 05:51


All times are GMT -5. The time now is 09:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi