Weird #include bug
#6

Quote:
Originally Posted by ******
Посмотреть сообщение
You are using "#tryinclude", which means that the compiler won't display a warning if the file doesn't exist - it is doing exactly what you asked it to!
I know, but compiler doesn't display a warning if file 'debug_vehicles' is missing, which is included in that way:

pawn Код:
#include        "../filterscripts/Debug/debug_vehicles.pwn"
debug_install is not included too, but it should be included. If I change code a little bit, like this:
pawn Код:
//  Instaliacijos failas    ( reikalingas tik tuomet, kai /scriptfiles/ kataloge nėra fs_debug.db failo )
#tryinclude     "../filterscripts/Debug/debug_install.pwn"
//  Failas su funkcijomis
#include        "../filterscripts/Debug/debug_functions.pwn"
//  Transporto priemonių rinkimasis
#include        "../filterscripts/Debug/debug_vehicles.pwn"
Then compiler includes file 'debug_install', but doesn't include next two, and doesn't show any error or warning. It checks only first include and ignores next includes.
Reply


Messages In This Thread
Weird #include bug - by Scottas - 23.06.2011, 09:11
Re: Weird #include bug - by Wesley221 - 23.06.2011, 09:17
Re: Weird #include bug - by [HiC]TheKiller - 23.06.2011, 09:37
Re: Weird #include bug - by Scottas - 23.06.2011, 10:51
Re: Weird #include bug - by Sasino97 - 23.06.2011, 11:43
Re: Weird #include bug - by Scottas - 23.06.2011, 11:52
Re: Weird #include bug - by Scottas - 25.06.2011, 06:25
Re: Weird #include bug - by Scottas - 29.06.2011, 11:35
Re: Weird #include bug - by Scottas - 07.07.2011, 12:43

Forum Jump:


Users browsing this thread: 1 Guest(s)