deleted code still compiled into dol August 15, 2009 12:55PM | Registered: 15 years ago Posts: 405 |
Re: deleted code still compiled into dol August 16, 2009 01:00PM | Registered: 15 years ago Posts: 405 |
Re: deleted code still compiled into dol August 16, 2009 03:23PM | Admin Registered: 15 years ago Posts: 5,132 |
Re: deleted code still compiled into dol August 16, 2009 04:15PM | Registered: 15 years ago Posts: 265 |
Re: deleted code still compiled into dol August 16, 2009 07:47PM | Registered: 15 years ago Posts: 405 |
Re: deleted code still compiled into dol August 17, 2009 02:14PM | Registered: 15 years ago Posts: 405 |
Re: deleted code still compiled into dol August 17, 2009 03:13PM | Registered: 15 years ago Posts: 276 |
Quote
i can see that the older function is being run at the same time as the newer version and this would obviously cause problems when one returns before the other since that code that executed afterwards is completely fine.
Re: deleted code still compiled into dol August 17, 2009 07:17PM | Registered: 15 years ago Posts: 405 |
I made a debug function which writes a message to a text file and non-existant string are appearingQuote
how do you see this ?
I am using the libwiigui template so yes a thread is involvedQuote
are you using thread ?
well, when i copied and pasted plaats http function instead of being return an int it would be extern bool so i changed that to int, i did later change the debug function to see if any errors would appear (obviously i changed the ones that needed changing). I changed a few other function names to see if it would tick but nada.Quote
did you change the function names?
No other files exist in the sources directories which contain http functions, i see a -Wall flag for C but no -v flagQuote
1/ look at your Makefile, especially the SOURCES and INCLUDES paths, make sure the code you don't want to compile is not in there. You can also post it somewher so we could doubleheck it, adding some flags (-Wall, -v) might also be useful
That was the first thing i did an no occurences at all of some of the strings, there was one debug message which outputted some data from the socket buffer which still produces output after being deletedQuote
2/ look in your code for occurences of the debug string
Re: deleted code still compiled into dol August 18, 2009 12:40AM | Registered: 15 years ago Posts: 73 |
Quote
2/ look in your code for occurences of the debug string
Re: deleted code still compiled into dol August 18, 2009 09:50AM | Registered: 15 years ago Posts: 276 |
Quote
That was the first thing i did an no occurences at all of some of the strings, there was one debug message which outputted some data from the socket buffer which still produces output after being deleted
Re: deleted code still compiled into dol August 18, 2009 11:26AM | Registered: 15 years ago Posts: 405 |
Quote
ekeeke
just to be sure, what's the debug messages which are NOT supposed to be output but are still visible ?
seems to me there are still a few debug messages in your code (DEBUG is undefined but Debug is still used... and defined somewhere)
Re: deleted code still compiled into dol August 18, 2009 12:24PM | Registered: 15 years ago Posts: 276 |
Quote
file_ptrs = fopen("fat://applog.txt", "a");
Re: deleted code still compiled into dol August 18, 2009 01:15PM | Registered: 15 years ago Posts: 405 |
Quote
MichaelQuote
2/ look in your code for occurences of the debug string
Does your .dol contain this debug string (just a sanity check)?
Which object file or library contains this debug string?
Once you know which object file contains this debug string, you should be able to figure out how it's getting linked into your app by looking at make's output. To get make to show you more of what it's doing, I modified the devkitPPC/wii_rules file, and removed the '@' signs in front of things like $(LD). There may be a command line option for make to achieve the same thing, but I couldn't find it.
Michael
Re: deleted code still compiled into dol August 19, 2009 11:49AM | Registered: 15 years ago Posts: 405 |
Re: deleted code still compiled into dol August 20, 2009 01:53PM | Registered: 15 years ago Posts: 405 |
Re: deleted code still compiled into dol August 20, 2009 08:03PM | Registered: 15 years ago Posts: 405 |