The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Illiways, the café at the end of the Ufiverse by SaleGamine2006-11-19 12:55:59
  Hasta la later. by Avium2002-10-19 00:13:18
    gcc by ideur2002-10-19 00:53:47
      I'm hoping... by Avium 2002-10-19 01:07:08
Praying actually, that 3.2 fixes those freaky problems. And I do mean freaky. Check this out.
char date_str[21];
struct tm now_tm;
...
// Fill the now_tm structure with valid data.
...
strftime(date_str, 20, "%Y%m%d%H%M%S", &now_tm);
...
If I cout << date_str after the strftime everything is okay.

If I don't ( and I don't want to since date_str strcat'd onto a message string ) I get a Segmentation Fault.

This is why I'm am spending tonight rebuilding a copy of our development environment on my laptop with Mandrake 9.0 which comes with gcc 3.2 to test the bloody compilers.
[ Reply ]
        Downloading gcc-3.2 at the moment by ideur2002-10-19 02:41:27
          Just started compiling Gcc 3.2 by ideur2002-10-19 04:44:44
            Gcc 3.2 by ideur2002-10-20 01:41:23

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)