• 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
Get Info and Additional Compiler Flags bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get Info and Additional Compiler Flags bug


  • Subject: Get Info and Additional Compiler Flags bug
  • From: Robert Purves <email@hidden>
  • Date: Mon, 15 Dec 2003 14:26:15 +1300

I am trying to set Additional Compiler Flags for a file (test.c) in my project in Xcode 1.0.1, by following steps 1-5:

1 Make sure that test.c shows in the File Name column of the project window.
2 Select test.c by clicking it
3 Get Info (or click the blue 'i' button)
4 Click the Build tab in the resulting window: File "test.c" Info
5 Enter additional compiler flags, for example -O1


The newly entered flags are usually, but not always, ignored, as shown by the outcome of a Build. A repeat of the Get Info shows that the new flags have disappeared.

After much trial and error, it turns out that success depends on what happened to be selected in the Groups and Files pane at the time of the Get Info command for the file test.c

Groups and Files selection     result
--------------------------     -----
  Project                      failure
  Targets                      success
  Implementation Files         failure

That is, some of the invitations to enter Additional Compiler Flags act merely as time-wasting snares.
Is this a known bug? It would be nice to get it fixed.


Robert P.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Get Info and Additional Compiler Flags bug
      • From: tobias <email@hidden>
  • Prev by Date: Re: Using PBXSourceFileEditor in an XCode plug-in
  • Next by Date: Re: Get Info and Additional Compiler Flags bug
  • Previous by thread: Re: Using PBXSourceFileEditor in an XCode plug-in
  • Next by thread: Re: Get Info and Additional Compiler Flags bug
  • Index(es):
    • Date
    • Thread