• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: next problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: next problem


  • Subject: Re: next problem
  • From: Jack Repenning <email@hidden>
  • Date: Tue, 19 Jun 2007 16:37:22 -0700

On Jun 19, 2007, at 4:11 PM, David Goldsmith wrote:

Hi!  I'm getting the following compiler error:

In file included from /usr/include/c++/4.0.0/bits/ostream.tcc:45,
from /usr/include/c++/4.0.0/ostream:544,
from /usr/include/c++/4.0.0/iostream:44,
from /usr/local/include/vtk-5.0/vtkIOStream.h:35,
from /usr/local/include/vtk-5.0/vtkSystemIncludes.h: 40,
from /usr/local/include/vtk-5.0/vtkIndent.h:24,
from /usr/local/include/vtk-5.0/vtkObjectBase.h:43,
from /usr/local/include/vtk-5.0/vtkObject.h:41,
from /usr/local/include/vtk-5.0/vtkDataObject.h:35,
from /usr/local/include/vtk-5.0/vtkDataSet.h:40,
from /usr/local/include/vtk-5.0/vtkPointSet.h:29,
from /usr/local/include/vtk-5.0/vtkPolyData.h:57,
from ../../code/wxCats/CatsDataIO.h:14,
from test_CatsDataIO.cpp:2:
/usr/bin/locale:1: error: stray '\202' in program
etc.


I googled stray '\202' in program and found a site indicating that this error crops up when the file in question isn't ascii. Sure enough, less says the file /usr/bin/locale is binary. What gives?


This may well be another symptom of your earlier confusion as to the uses of $PATH. The indicated line, ostream.tcc line 45, is:

#include <locale>

Now you should not have /usr/bin in your include path (set by -I flags). But if you did, and if /usr/bin were earlier in that path that the proper location of local.h (which is /usr/include), then you'd run into this: /usr/bin/locale is being included, which of course makes no sense at all since it's a program not an include file.


-==-
Jack Repenning
Chief Technology Officer
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
office: +1 650.228.2562
mobile: +1 408.835.8090
raindance: +1 877.326.2337, x844.7461
aim: jackrepenning
skype: jrepenning




_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: next problem
      • From: David Goldsmith <email@hidden>
References: 
 >next problem (From: David Goldsmith <email@hidden>)

  • Prev by Date: Re: next problem
  • Next by Date: Re: next problem
  • Previous by thread: Re: next problem
  • Next by thread: Re: next problem
  • Index(es):
    • Date
    • Thread