Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3368: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:112)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3370: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:112)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3371: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:112)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3372: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:112)
OrbWorks Community Forum • View topic - Problem with structs again
Page 1 of 1

PostPosted: Tue Jul 29, 2003 5:25 pm
by Glasswalker
Ok... having an odd issue...

Code that worked perfectly last time I used it.

I compiled it and ran it, it runs fine...

I save file, and close pocketc

then a week later, I open it, and try to compile...

It fails...

I don't understand! :) hehehehe

it is giving me "Missing function body" errors for any function that is declared in the beginning of the file that has a struct passed to it...

This code all worked before... and now with not a single change (I literally have not touched my hpc since I last compiled the code, I compiled, saved, exited, and shut the machine off. did not touch it since)

If I delete the function declaration, it will compile fine, but only if my functions are declared in the right order so that they have been defined before they are called... Which I can't do in this case...

Anyone know anything about this?

(I know it is not a simple typo, I create a blank program with a simple struct and a simple function that just pulls a string from the struct and bumps it on screen, same deal... but if I delete the declaration at the top, it runs fine)

please! need help! :)

thanks