• 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
GCC failed with exit code 1?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GCC failed with exit code 1?


  • Subject: GCC failed with exit code 1?
  • From: Eamon Ford <email@hidden>
  • Date: Sun, 12 Aug 2007 12:24:53 -0700

Hey guys,
When I try to compile this piece of code...

float* samples = (float*)(buffer->mData);

...I get "Command /usr/bin/gcc-4.0 failed with exit code 1". mData is declared in the AudioBuffer structure (CoreAudio) as a void* to an array of float values.
Does anyone know why I'm getting this error? Here's my build transcript.

Checking Dependencies
CompileC "build/Recordotron.build/Development/Recordotron (Upgraded).build/Objects-normal/ppc/AppController.o" /Users/eamonford/Desktop/Recordotron/AppController.m normal ppc objective-c com.apple.compilers.gcc.4_0
    cd /Users/eamonford/Desktop/Recordotron
    /usr/bin/gcc-4.0 -x objective-c -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -O0 -Werror -fmessage-length=0 -fzero-link -mtune=G4 -mfix-and-continue -I/Users/eamonford/Desktop/Recordotron/build/Recordotron.build/Development/Recordotron\ (Upgraded).build/Recordotron.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/eamonford/Desktop/Recordotron/build/Development -F/Users/markd/downloads/MTCoreAudio -F/Users/eamonford/Desktop/Recordotron -I/Users/eamonford/Desktop/Recordotron/build/Development/include -I/Users/eamonford/Desktop/Recordotron/build/Recordotron.build/Development/Recordotron\ (Upgraded).build/DerivedSources -c /Users/eamonford/Desktop/Recordotron/AppController.m -o /Users/eamonford/Desktop/Recordotron/build/Recordotron.build/Development/Recordotron\ (Upgraded).build/Objects-normal/ppc/AppController.o
cc1obj: warnings being treated as errors
/Users/eamonford/Desktop/Recordotron/AppController.m: In function '-[AppController readCycleForDevice:timeStamp:inputData:inputTime:outputData:outputTime:clientData:]':
/Users/eamonford/Desktop/Recordotron/AppController.m:61: warning: unused variable 'samples'



Thanks...
 _______________________________________________
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: GCC failed with exit code 1?
      • From: Peter Mulholland <email@hidden>
    • Re: GCC failed with exit code 1?
      • From: David Dunham <email@hidden>
  • Prev by Date: Problems: Shark, Compiling Options and Source Code Viewing
  • Next by Date: Re: GCC failed with exit code 1?
  • Previous by thread: Re: Problems: Shark, Compiling Options and Source Code Viewing
  • Next by thread: Re: GCC failed with exit code 1?
  • Index(es):
    • Date
    • Thread