• 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: Weird error situation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird error situation


  • Subject: Re: Weird error situation
  • From: Chris Espinosa <email@hidden>
  • Date: Sun, 23 Sep 2007 15:28:30 -0700


On Sep 23, 2007, at 2:34 PM, Adam wrote:

After doing that, it still gives me an error, but it's a different one: Command /usr/bin/g++-4.0 failed with exit code 1. So not fixed, but undoubtedly improved. Do you think that I should try making a new project, importing the files from the old project, and seeing if that works?

This is the result of a compiler error.  It's not the error itself, which would be more helpful to know.

Choose "Build Results" from the Build menu
Look for red stop signs (errors) or yellow triangles (warnings)
Drag and drop the "Compiling" step on which those errors or warnings appear into the reply.  It'll look something like this:

    cd /Volumes/Personal/Users/espich/yfj
    /Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -fvisibility=hidden -mfix-and-continue -mmacosx-version-min=10.4 -I/Volumes/Work/Objects/Intermediates/yfj.build/Debug/yfj.build/yfj.hmap -F/Volumes/Work/Objects/Debug -I/Volumes/Work/Objects/Debug/include -I/Volumes/Work/Objects/Intermediates/yfj.build/Debug/yfj.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Volumes/Personal/Users/espich/yfj/main.m -o /Volumes/Work/Objects/Intermediates/yfj.build/Debug/yfj.build/Objects-normal/i386/main.o
/Volumes/Personal/Users/espich/yfj/main.m: In function 'main':
/Volumes/Personal/Users/espich/yfj/main.m:14: error: parse error before '}' token
/Volumes/Personal/Users/espich/yfj/main.m:14: warning: control reaches end of non-void function

Copying and pasting the context in which the error appears would also be useful.

Regards,

CHris
 _______________________________________________
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: Weird error situation
      • From: Adam <email@hidden>
References: 
 >Weird error situation (From: Adam <email@hidden>)
 >Re: Weird error situation (From: Chris Espinosa <email@hidden>)
 >Re: Weird error situation (From: Adam <email@hidden>)
 >Re: Weird error situation (From: Chris Espinosa <email@hidden>)
 >Re: Weird error situation (From: Adam <email@hidden>)

  • Prev by Date: Re: Weird error situation
  • Next by Date: Re: Weird error situation
  • Previous by thread: Re: Weird error situation
  • Next by thread: Re: Weird error situation
  • Index(es):
    • Date
    • Thread