• 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: strlen problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strlen problems


  • Subject: Re: strlen problems
  • From: "Hae-seong, Zo" <email@hidden>
  • Date: Sat, 5 Nov 2005 21:08:00 +0900
  • Y-message-id: <014101c5e201$92dc1a30$0200000a@Just>

Not the complete solution, but how about this?

    if  (path_info[0]) printf ("path_info: %s<br>\n", path_info);

It would be more speedy, I think. :)

Regards,

Hae-seong, Zo.
LUXONIX.
http://luxonix.com




----- Original Message -----
From: "D. Walsh" <email@hidden>
To: "xcode-Users List" <email@hidden>
Sent: Saturday, November 05, 2005 8:10 PM
Subject: strlen problems


> I've been converting all of my old Xcode 1.1 projects to Xcode 2.2
> utilizing gcc 4.0 since the migration to 10.4.
>
> I have hundreds of programs with lines using strlen that were taken
> from example code back in the days of gcc 2.95 that built without
> issues right up to the migration to 10.4 and this issue seem to
> render the apps un-executable.
>
> If I remove these lines from the source code they build and execute
> without issue however important information is missing from the
> output so a solution is needed.
>
> Here's the message I get:
> warning: incompatible implicit declaration of built-in function 'strlen'
>
> Here's a sample of an offensive line: (others are similar but only
> the lines using strlen in this systax cause problems)
> if (strlen (path_info)) printf ("path_info: %s<br>\n", path_info);
>
> Has anyone encountered this issue and/or have a solution???
>
> -- Dale
> _______________________________________________
> 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
>
 _______________________________________________
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: strlen problems
  • Next by Date: Re: strlen problems
  • Previous by thread: Re: strlen problems
  • Next by thread: Fix & continue, beep
  • Index(es):
    • Date
    • Thread