SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Tools and Files

Reply
 
Thread Tools Display Modes
Old 29/01/2014, 07:52 AM   #21
iZN
High-roller
 
Join Date: Jun 2010
Posts: 2,450
Reputation: 569
Default Re: Zeex's PAWN Compiler Patches

The compiler crashes for me suddenly. It doesn't crashes with the original compiler. Is there any possibility of checking what could be the issue?
__________________
iZN is offline   Reply With Quote
Old 29/01/2014, 01:49 PM   #22
TheChaoz
High-roller
 
TheChaoz's Avatar
 
Join Date: Dec 2009
Location: Argentina
Posts: 4,657
Reputation: 239
Default Respuesta: Re: Zeex's PAWN Compiler Patches

Quote:
Originally Posted by iZN View Post
The compiler crashes for me suddenly. It doesn't crashes with the original compiler. Is there any possibility of checking what could be the issue?
If you're using sqlitei from Slice it crash with this compiler (the only time this compiler crash for me was while using this include).
__________________
TheChaoz is offline   Reply With Quote
Old 29/01/2014, 03:31 PM   #23
iZN
High-roller
 
Join Date: Jun 2010
Posts: 2,450
Reputation: 569
Default Re: Respuesta: Re: Zeex's PAWN Compiler Patches

Quote:
Originally Posted by the_chaoz View Post
If you're using sqlitei from Slice it crash with this compiler (the only time this compiler crash for me was while using this include).
No, I don't use SQLite. I'm using BlueG's plugin R35, sscanf, foreach , CTime plugin (RyDeR`), Teprey's CSTL vector plugin, Incognito's Streamer, IRC and GVar plugin. Slice's TimerFix include and Sorting multi-dimensional arrays (md-sort) include.
__________________
iZN is offline   Reply With Quote
Old 29/01/2014, 04:34 PM   #24
TheChaoz
High-roller
 
TheChaoz's Avatar
 
Join Date: Dec 2009
Location: Argentina
Posts: 4,657
Reputation: 239
Default Respuesta: Zeex's PAWN Compiler Patches

Try to remove parts of the script till you find the line(s) that make this compiler crash, otherwise just use the default one.
__________________
TheChaoz is offline   Reply With Quote
Old 29/01/2014, 04:56 PM   #25
SimonItaly
Huge Clucker
 
SimonItaly's Avatar
 
Join Date: Mar 2010
Location: Italy
Posts: 252
Reputation: 85
Default Re: Zeex's PAWN Compiler Patches

Quote:
Added #pragma naked
Added #pragma warning (enable|disable) XXX
Added #pragma warning (push|pop)
Added __line constant
Added #warning directive
Some documentation about those new features would be really appreciated.

EDIT #1: the new compiler crashes with my gamemode. I'm doing some tests right now.
EDIT #2: the compiler seems to crash by compiling with the "-d3 -r -v" tags. Without them it works, but it gives me some new, weird errors.
Code:
C:\pawno\include\a_http.inc(22) : error 021: symbol already defined: "HTTP"
C:\pawno\include\YSI\y_scriptinit.inc(305) : warning 201: redefinition of constant/macro (symbol "OnScriptInit")
C:\pawno\include\YSI\y_scriptinit.inc(326) : error 084: state conflict: one of the states is already assigned to another implementation (symbol "_ScriptInit_FixState")
C:\pawno\include\YSI\y_scriptinit.inc(330) : error 084: state conflict: one of the states is already assigned to another implementation (symbol "_ScriptInit_FixState")
C:\pawno\include\YSI\y_debug.inc(379) : error 021: symbol already defined: "ScriptInit_OnScriptInit"
C:\pawno\include\foreach.inc(663) : error 021: symbol already defined: "ScriptInit_OnFilterScriptInit"
C:\pawno\include\foreach.inc(760) : error 021: symbol already defined: "ScriptInit_OnGameModeInit"
C:\Users\Simone\Desktop\0.3x\gamemodes\sfrp_sql.pwn(31148) : error 021: symbol already defined: "ScriptInit_OnGameModeExit"
Pawn compiler 3.2.3664.samp	 	 	Copyright (c) 1997-2006, ITB CompuPhase


7 Errors.

Last edited by SimonItaly; 29/01/2014 at 08:04 PM.
SimonItaly is offline   Reply With Quote
Old 31/01/2014, 02:16 PM   #26
Misiur
High-roller
 
Misiur's Avatar
 
Join Date: Jul 2009
Location: Poland
Posts: 2,537
Reputation: 552
Default Re: Zeex's PAWN Compiler Patches

You have to keep in mind that this include removes standard builtin include guards. If your includes include something, then it'll get included twice (yo dawg, I heard you like includes). YSI also has problem with that - https://github.com/Y-Less/YSI-Includ...f2b155e7b8c008 - that's quite fresh commit from YSI 4 branch, check it out.
Misiur is offline   Reply With Quote
Old 01/02/2014, 10:53 AM   #27
xeeZ
Huge Clucker
 
Join Date: Feb 2013
Posts: 318
Reputation: 382
Default Re: Zeex's PAWN Compiler Patches

Quote:
Originally Posted by DarkSlyder View Post
Some documentation about those new features would be really appreciated.
I've made a new Wiki page describing all the new features and other changes:

https://github.com/Zeex/pawn/wiki/What's-new%3F
xeeZ is offline   Reply With Quote
Old 01/02/2014, 11:12 AM   #28
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,982
Reputation: 1392
Default Re: Zeex's PAWN Compiler Patches

I tried the new version but it doesn't output anything in the 'PAWN Compiler Output' box. Even though, the file will be compiled fine.



I tried with and without the pawn.cfg (-d3) and it is still the same.
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote
Old 01/02/2014, 11:37 AM   #29
xeeZ
Huge Clucker
 
Join Date: Feb 2013
Posts: 318
Reputation: 382
Default Re: Zeex's PAWN Compiler Patches

Does it show output in another editor or at the command line?
xeeZ is offline   Reply With Quote
Old 01/02/2014, 11:51 AM   #30
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,982
Reputation: 1392
Default Re: Zeex's PAWN Compiler Patches

I don't use any other editor other than pawno so I can test it.

How to use pawncc.exe + file name with the command line?
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PAWN Compiler Error Unable to execute Compiler.. Geeboi_Mehdi General 13 07/11/2015 04:26 PM
Please help ( PAWN Compiler "Error Unable to execute Compiler...") morocco Scripting Help 4 05/02/2013 03:34 PM
Whats up with Zeex? Mauzen Everything and Nothing 5 08/04/2012 08:59 PM
[Help With Pawn] Pawn and compiler is not working..... D_Less Client Support 3 09/03/2012 04:49 AM
What about new pawn compiler in SA-MP 0.3 Maccer Help Archive 11 08/09/2009 04:59 PM


All times are GMT. The time now is 09:37 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.