The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
pstat_getdisk() call doesn’t work properly in HPUX 11.31 (11i V3) sandiworld HP-UX 2 10-25-2007 10:39 AM
my case statement doesn't work.. sureshy UNIX for Dummies Questions & Answers 7 10-25-2002 02:25 PM
unmount doesn't work DISTURBED UNIX for Dummies Questions & Answers 2 07-04-2002 06:14 PM
grep doesn't work within shell script? barisgultekin Shell Programming and Scripting 4 05-24-2002 02:01 PM
Repquota doesn't work as Cronjob?!? b416 UNIX for Dummies Questions & Answers 1 04-14-2002 08:44 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-20-2001
token token is offline
Registered User
  
 

Join Date: Sep 2001
Posts: 2
why doesn't this work?????

i keep getting the following error with the code segment below when i try to compile the program.

parse error before '('
parse error before ')'
stray '\' in program

this is the code segment and the error is on the second line of the segment

#define DEBUG(fmt) if(traceflag) { \
fprintf(stderr, fmt, arg1); \
.
.
.

Thank you in advance to all who reply to this thread
  #2 (permalink)  
Old 09-20-2001
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
Your syntax looks legal and I could not get it to fail. My best guess is that you have trailing whitespace characters after the backslash on the first line. The newline character on the first line must be immediately preceded by a backslash for this to work.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0