what the ... ?
#1

good morning all... i have a VERY VERY big problem... tomorrow i turn on my computer goto pawno and comment with /* and */ a command... try to compile and i have a lot of errors:
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\core.inc(43) : error 010: invalid function or declaration
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\core.inc(49) : error 010: invalid function or declaration
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\core.inc(86) : error 001: expected token: ";", but found "}"
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\core.inc(86) : error 010: invalid function or declaration
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\core.inc(120) : error 010: invalid function or declaration
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\core.inc(122) : error 001: expected token: "=", but found "["
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\core.inc(123) : error 001: expected token: "=", but found "["
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\core.inc(126) : error 010: invalid function or declaration
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\core.inc(131) : error 010: invalid function or declaration
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\core.inc(133) : error 001: expected token: "=", but found "["
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\core.inc(134) : error 001: expected token: "=", but found "["
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\core.inc(136) : error 010: invalid function or declaration
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\core.inc(13 : error 056: arrays, local variables and function arguments cannot be public (variable "NULL_VECTOR")
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\core.inc(139) : error 056: arrays, local variables and function arguments cannot be public (variable "NULL_STRING")
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\core.inc(147) : error 021: symbol already defined: "file"
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\core.inc(154) : warning 235: public function lacks forward declaration (symbol "__ext_core_SetNTVOptional")
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\utils.inc(3) : warning 213: tag mismatch
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\utils.inc(22) : error 017: undefined symbol "strval"
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\utils.inc(50) : warning 213: tag mismatch
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\utils.inc(52) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\utils.inc(57) : error 035: argument type mismatch (argument 2)
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\utils.inc(57) : error 035: argument type mismatch (argument 2)
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\utils.inc(5 : error 035: argument type mismatch (argument 1)
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\utils.inc(60) : error 035: argument type mismatch (argument 1)
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\utils.inc(52) : warning 204: symbol is assigned a value that is never used: "name"
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\morphinc.inc(9) : error 017: undefined symbol "floatsqroot"
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\morphinc.inc(9) : warning 213: tag mismatch
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\dini.inc(53) : warning 213: tag mismatch
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\dini.inc(54) : warning 213: tag mismatch
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\dini.inc(80) : warning 213: tag mismatch
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\dini.inc(80) : warning 213: tag mismatch
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\dini.inc(80) : warning 202: number of arguments does not match definition
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\dini.inc(116) : error 017: undefined symbol "strval"
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\dini.inc(190) : warning 213: tag mismatch
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\dini.inc(200) : warning 213: tag mismatch
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\dini.inc(200) : warning 213: tag mismatch
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\dini.inc(200) : warning 202: number of arguments does not match definition
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\dini.inc(204) : error 017: undefined symbol "strmid"
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\dini.inc(240) : warning 213: tag mismatch
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\admin.inc(33 : warning 213: tag mismatch
C:\Users\Giuseppe Mazzei\Documents\samp server\pawno\include\admin.inc(442) : warning 213: tag mismatch
../include/gl_common.inc(76) : warning 213: tag mismatch
../include/gl_common.inc(97) : warning 213: tag mismatch
C:\Users\Giuseppe Mazzei\Documents\samp server\gamemodes\test1.pwn(892) : error 017: undefined symbol "floatsqroot"
C:\Users\Giuseppe Mazzei\Documents\samp server\gamemodes\test1.pwn(892) : warning 213: tag mismatch
C:\Users\Giuseppe Mazzei\Documents\samp server\gamemodes\test1.pwn(2416) : warning 213: tag mismatch
C:\Users\Giuseppe Mazzei\Documents\samp server\gamemodes\test1.pwn(2416) : warning 213: tag mismatch
C:\Users\Giuseppe Mazzei\Documents\samp server\gamemodes\test1.pwn(2424) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Giuseppe Mazzei\Documents\samp server\gamemodes\test1.pwn(2426) : error 035: argument type mismatch (argument 2)
C:\Users\Giuseppe Mazzei\Documents\samp server\gamemodes\test1.pwn(2426) : error 035: argument type mismatch (argument 2)

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.


so i tryed to uncomment the command, i have the same result...
than i opened a gamemode backup and try to compile it without changings but is the same thing.. i had the same errors.. and i paid attention to a thing... on the right of pawno i have some includes never seen before...
-admin.inc
-adminmenu.inc
-adt.inc
-adt_array.inc
-ad_stack.inc
-adt_trie.inc
how is it possible?
what's appening to pawno and/or my gamemode?
have u ever seen a problem like mine?

please help me
thanks
Reply
#2

Code please.
Reply
#3

Looks like you replaced the default core.inc by another..

Edit: those .inc files are from SourceMod, what they are doing here is beyond my guess.
Reply
#4

Quote:
Originally Posted by 0rb
Looks like you replaced the default core.inc by another..

Edit: those .inc files are from SourceMod, what they are doing here is beyond my guess.
i don't know... i deleted theese files, re-opened pawno and i haven't inculed on the right of the desktop... but when i try to compile it i have same errors
Reply
#5

now's ok... a friend of mine gives me includes and all i did was to replace that.. i don't know how is this possible and how it happened... but important is that now is ok XD
Reply
#6

you did perhaps have something like this:

PHP код:
if (...)
{
  
myfunc();
  
leetcode();
  
/*stopserver();
  killserver();
  killworld();*/

and when you commented that out, it became that:
PHP код:
/*if (...)
{
  myfunc();
  leetcode();
  /*stopserver();
  killserver();
  killworld();*/
}*/ 
if you take a look again at that now:
Код:
/*if (...) <= comment start here
{
  myfunc();
  leetcode();
  /*stopserver(); <= ignored start
  killserver();
  killworld();*/  <= comment end
}*/ compiler is confused.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)