News for hackers. Stuff that matters.
Re:Why does the C preprocessor interpret the word “linux” as... by lallysingh on Wednesday October 09, 2013 @06:34PM (#6524360)
Two notes that'll date me pretty well:

(1) I had to port a game engine to solaris a few years ago. In that engine, if you looked up, you'd see a star emitting light. Guess what 3-letter, all-lowercase identifier was conflicting.

(2) Xt (only useful, really, if you're doing Motif work) had a macro or two that looked exactly like a function call, and had a very natural use case for incrementing an index you feed as an argument. If you knew not to do it, no problem. Otherwise, that was a mean bug to track down.

Re:Why does the C preprocessor interpret the word “linux” as... by cpeterso on Wednesday October 09, 2013 @06:55PM (#6524486)
> (1) I had to port a game engine to solaris a few years ago. In that engine, if you looked up, you'd see a star emitting light. Guess what 3-letter, all-lowercase identifier was conflicting.

sel? The suspense is killing me! :)

Re:Why does the C preprocessor interpret the word “linux” as... by sillysaurus2 on Wednesday October 09, 2013 @07:03PM (#6524531)
I think it's sol!
Re:Why does the C preprocessor interpret the word “linux” as... by sokoloff on Wednesday October 09, 2013 @08:26PM (#6524889)
The star in question is 93 million miles away...

sun

Re:Why does the C preprocessor interpret the word “linux” as... by cpeterso on Saturday October 12, 2013 @02:17PM (#6539667)
oh, duh! The phrase "porting to solaris" should have clued me in.. <:)