• 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: Don't understand this compiler warning [solved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Don't understand this compiler warning [solved]


  • Subject: Re: Don't understand this compiler warning [solved]
  • From: Markus Ruggiero <email@hidden>
  • Date: Fri, 1 Jul 2005 10:49:28 +0200

Folks, I finally figured it out

//    Robert Dewar <dewar at gnat dot com>
//    http://gcc.gnu.org/ml/gcc/2004-10/msg00027.html
//    It's a matter of language definition, there simply is a requirement in the C definition
//    that the increment of zero take place before or after the assignment. You are missing
//    a required sequence point. Basically the rule in C is that if you have an _expression_
//    (remember that an assignment is just an _expression_), and somewhere in that _expression_,
//    you use an increment operator on a variable, you can't mention that variable elsewhere
//    in the _expression_. End of story
        unsigned long compiler_warning_fix = lcl_l_flags;
        compiler_warning_fix = pgf_setdef_flag_(HYPHEN_PGF,
                                       DDIF_M_T_HYPHENATION_ALLOWED,
                                       DDIF_M_T_HYPHENATION_ALLOWED);
        lcl_l_flags = compiler_warning_fix;

Thanks for all your help
---markus---

Markus Ruggiero

rucotec consulting and technologies    email     mailto:email@hidden

rucotec GmbH                           web       http://www.rucotec.ch

Steinentorstrasse 8             

4051 Basel                             Mobile    +41 (0)79 508 4701

Switzerland                            Phone/Fax +41 (0)61 271 4990



 _______________________________________________
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

  • Prev by Date: problems linking with dylib
  • Next by Date: Re: large memory malloc
  • Previous by thread: Re: problems linking with dylib
  • Next by thread: Re: large memory malloc
  • Index(es):
    • Date
    • Thread