Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Re: Compiler Recommendations



 On 03 Jan 2008 17:19:34 -0500, Kevin D. Clark <[hidden email]> wrote: 
> Q:  If I write the code int i, j; can I assume that (&amp;i + 1) == &amp;j? 
> A:  Only sometimes. It's not portable, because in EBCDIC, i and j 
>     are not adjacent. 
>                 -- Infrequently Asked Questions in comp.lang.c 

The answer to this is also "no" because some compiler 
randomize/reorder both compile and runtime variable allocations for 
security reasons :-) 
-- 
Kristian Erik Hermansen 
"Know something about everything and everything about something." 

-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org