Bill Cunningham wrote:
> I don't know if this would qualify as an error or not. whatever this is
> I think it broke the compile. Does anyone know what this says?
I know what the immediate meaning is, but not the cause.
> In file included /mnt/lfs/gcc-4.5.2/gcc/gcc.c:8303: warning: cast discards
> qualifiers from pointer target type
This is usually as a result of something like this:
void some_function(const void *some_pointer) {
char *my_copy_of_some_pointer;
my_copy_of_some_pointer = (char *)some_pointer;
[...]
}
The cast discards the "const" qualifier to the target type.
Why this may be occurring, I don't know.
> /mnt/lfs/gcc-4.5.2/libgcc/../gcc/config/soft-fp/divtf3.c: In function
> '__divtf3':
> /mnt/lfs/gcc-4.5.2/libgcc/../gcc/config/soft-fp/divtf3.c:38:1: warning:
> 'R_e' may be used uninitialized in this function
This means that a variable is used in a function, seemingly without
being assigne a value first.
[...]
> /mnt/lfs/gcc-4.5.2/libgcc/../gcc/config/soft-fp/fixtfsi.c: In function
> '__fixtfsi':
> /mnt/lfs/gcc-4.5.2/libgcc/../gcc/config/soft-fp/fixtfsi.c:42:3: warning:
> left shift count >= width of type
This is a complaint for something like
unsigned short int i, j;
j = i << 24;
where an unsigned short int is 16 bits.
>
> What is this fixunstfsi.c file?
>
> Bill
>
Dunno
Mac
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page