Compiler jokes
#1

Hi,

recently my compiler started to refuse compiling my gamemode.
When compiling it crashes with a segmentation fault.

Код:
[samp@*** gamemodes]$ pc blrp.pwn
Pawn compiler 3.2.3664                  Copyright © 1997-2006, ITB CompuPhase

Segmentation fault
I tracked source of the error down to this line:

Код:
carData[vehicleid][car_neon] = strval(tmp);
The array is defined as follows:
Код:
enum carData_ {
        car_owner,
        car_owner_dbid,
        car_dbid,
        car_team,
        car_minrank,
        car_job,
        car_job_driver,
        car_job_lastused,
        car_locked,
        car_fuel_enabled,
        car_fuel,
        car_tune_enabled,
        car_select_row,
        car_dlship,
        car_spawned,
        car_status,
        car_static,
        car_neon,
        car_neon_obj1,
        car_neon_obj2
}

new carData[MAX_VEHICLES][carData_];
When removing this line the whole thing works just fine even though
this is not the only place in the gamemode where I access this array
in the exact same way.

I hope someone can help me.

Thanks,
Blowfish
Reply


Messages In This Thread
Compiler jokes - by Blowfish - 10.01.2012, 13:29
AW: Compiler jokes - by Blowfish - 10.01.2012, 14:13
AW: Compiler jokes - by Blowfish - 10.01.2012, 14:23
Re: Compiler jokes - by MR,Mr - 10.01.2012, 15:37

Forum Jump:


Users browsing this thread: 1 Guest(s)