Re: Pointer Target Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi;

This is the load_file decleration:

unsigned char *
load_file(const char *fname, int *sizeptr)

Regards

2012/10/4, Ian Lance Taylor <iant@xxxxxxxxxx>:
> On Thu, Oct 4, 2012 at 7:51 AM, Aydın Demirel <aydindem@xxxxxxxxx> wrote:
>> Hi all;
>>
>> I'm trying to compile a program with gcc-4.6.2 and getting following
>> error:
>>
>> /sources/comar/dbus/comar/src/
>> csl.c: In function 'py_compile':
>> /sources/comar/dbus/comar/src/csl.c:184:18: error: pointer targets in
>> initialization differ in signedness [-Werror=pointer-sign]
>>
>
>>     char *code = load_file(script_path, NULL);  ==> (line 184.)
>
> Show us the declaration of load_file.
>
> Ian
>


-- 
*Aydın Demirel
--------------------------
*
*



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux