LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-18-2004, 09:20 AM   #1
Jake13
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
ignoring the "non-portable whitespace encountered at line " warning


I just moved up to Linux 9.0, and my C code that I'm trying to port over works properly, but when I do a make clean on my program, I get pages and pages of

"non-portable whitespace encountered at line..."

I know why the warning is being thrown but I just don't have to time to go back through the hundreds of files in my program and change the problem.

Is there a gcc complier option to ignore this warning?? I've spent some time on google but haven't found anything very useful. Any help would be greatly appreciated.

Thanks.
 
Old 08-18-2004, 09:50 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
I'm surprised that gcc gets invoked on a make clean; are you sure that's what's generating the warning?

If it's gcc, you can pass an option like -Wno-something or -Wnone. See your gcc manual; I don't seem to have that particular warning.
Code:
man gcc
( By the way, I assume you mean version 9.0 of your distribution, not 9.0 of Linux itself (the kernel), as the latest major version of Linux is still only 2.6 )
 
Old 08-18-2004, 10:05 AM   #3
Jake13
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Original Poster
Rep: Reputation: 0
sorry, wasn't paying attention(not enough coffee this morning)....it is with the make clean.

durning the "make clean", I do a "make -s depend"....it's here where it throws those warnings
 
Old 08-18-2004, 12:34 PM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
“Make” itself isn't giving you these warnings; rather it calls another program or script to set up the dependencies. It's that that's generating these warnings.

What do you have in the “depend” section of your Makefile?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cdrecord command-line parentheses "(" ")" coolingtower Linux - Software 1 10-28-2005 11:49 AM
cruise control " Warning: -configfile=/cruisecontrol.xml not understood. Ignoring." emailssent Linux - Networking 0 02-28-2005 03:11 AM
wincvs to cvs via pserver "encountered a problem" during login julianop Linux - Software 0 02-17-2005 09:09 PM
warning "conflicting types for buit-in function" while cross-compiling cheema Programming 0 07-07-2004 03:02 AM
Font "courier" shows as whitespace. What to do? mrTK Linux - General 3 10-08-2003 02:00 PM


All times are GMT -5. The time now is 08:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration