Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Seth Copen Goldstein
Wed, 14 Oct 1992 22:23
long long initialization bug?
Author: Seth Copen Goldstein
Date: Wed, 14 Oct 1992 22:23
Date: Wed, 14 Oct 1992 22:23
16 lines
992 bytes
992 bytes
I am using gcc version 2.2.2 on a sun4. I want to initialize a long long with the address of another variable in my program and gcc won't let me. It will however let me initialize an int with the address of another variable. For example the following code: long long a = 1; int b = ((int)(&a)); long long d = (long long)((int)(&a)); produces the following error messages: foo.c:4: initializer element for `d' is not computable at load time why isn't it computable at runtime? -seth
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads