Re: STL slist/map containers concurrent/thread-safe access

2006-09-15 Thread John Love-Jensen
Hi Kalaky, #1. Please do not cross post to GCC-help and GCC lists. #2. GCC@gcc.gnu.org is not an appropriate forum for your question. #3. [EMAIL PROTECTED] is not an appropriate forum for your question. #4. Your question is a general C++ question, not a GCC question. > Given that removing/

Re: How to make a file which is both shared library and executable

2006-09-07 Thread John Love-Jensen
Hi Durga, Please do not cross-post to both gcc and gcc-help lists. Here is an example to do what you want: http://gcc.gnu.org/ml/gcc-help/2003-07/msg00232.html HTH, --Eljay

doh

2006-05-05 Thread John Love-Jensen
Sorry, I didnĀ¹t mean to cross post my off-topic post to this forum. I meant it to go to gcc-help only. Mea culpa, --Eljay

[off topic] fallow code removal

2006-05-05 Thread John Love-Jensen
Hi everyone, My apologies for posting off topic. I'm desperate. One of my project's general on-going tasks is to eliminate dead code. Sort of following the Extreme Programming principle. Does anyone know of any tool that can help identify fallow routines? Can GCC itself help facilitate findin

Re: No effect of -fshort-enums..is it a bug

2005-09-23 Thread John Love-Jensen
Hi Gaurav, You could do this... q = 4294967295U Or you could use -std=iso9899:1999 (perhaps with -pedantic) for the compiler to produce an error. Assuming you are using GCC 4.x. Or if you *want* to allow that, you could do this... -std=gnu99 I'm guessing as to which version of GCC you are usin

Re: No effect of -fshort-enums..is it a bug

2005-09-22 Thread John Love-Jensen
Hi Gaby, Dave, Daniel, and Gaurav, >This is incorrect and misleading. I concur. I retract my previous statement, and direct seekers-of-clarification to the previous posts that answered this issue. My apologies for my confusion. Sincerely, --Eljay

Re: No effect of -fshort-enums..is it a bug

2005-09-22 Thread John Love-Jensen
Hi Dave, Daniel, and Gaurav, For C99, I stand corrected. For C89 or C++98, I think my statement is applicable. (But until I double-check by reading those standards, take that with a grain of salt.) For all three, having enum be an int (signed or unsigned) is legit of course. For all three, hav

Re: No effect of -fshort-enums..is it a bug

2005-09-22 Thread John Love-Jensen
Hi Gaurav, >Please confirm which of the two outputs is correct and why is there a difference in the output of two versions of compiler? Both outputs are "correct". (Neither output is compliant to the standard, of course, as -fshort-enums is a deviation from the standard.) Sincerely, --Eljay