• 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: [Somewhat-OT] Unexpected behaviour of variable argument lists
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Somewhat-OT] Unexpected behaviour of variable argument lists


  • Subject: Re: [Somewhat-OT] Unexpected behaviour of variable argument lists
  • From: j o a r <email@hidden>
  • Date: Thu, 16 Sep 2004 15:20:39 +0200


On 2004-09-16, at 15.08, Allan Odgaard wrote:

Strings are concatenated compile time when white-space/newline delimited, e.g.:
str = "foo" "bar" "fud";
is functionally equivalent to:
str = "foobarfud";

I didn't know that! Weird.

As that's a part of C I guess it's not something that I could ask GCC to help me catch?

Thanx Allan and Tim!

j o a r

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >[Somewhat-OT] Unexpected behaviour of variable argument lists (From: j o a r <email@hidden>)
 >Re: [Somewhat-OT] Unexpected behaviour of variable argument lists (From: Allan Odgaard <email@hidden>)

  • Prev by Date: deployment vs. development style weirdness
  • Next by Date: Re: [Somewhat-OT] Unexpected behaviour of variable argument lists
  • Previous by thread: Re: [Somewhat-OT] Unexpected behaviour of variable argument lists
  • Next by thread: Re: [Somewhat-OT] Unexpected behaviour of variable argument lists
  • Index(es):
    • Date
    • Thread