Yevgeny Kliteynik wrote: > Hal Rosenstock wrote: >> On Tue, 2007-03-06 at 12:51, Jason Gunthorpe wrote: >>> On Tue, Mar 06, 2007 at 06:03:16PM +0200, Yevgeny Kliteynik wrote: >>>> Hi Hal. >>>> >>>> Converting the the C++ code to C. >>> This is actually valid C99 code. This is the method that ISO >>> standardized in C99 to do dynamic stack allocations (alloca is not >>> an ISO C function). >>> >>> Since it is now 2007 is there really still a desire to not use C99 >>> features? >> My guess is that the Windows compiler didn't like this though :-( > > Correct :( > > BTW, there's still a C++ element there - switch_bitmap is declared > after using OSM_LOG_ENTER.
I take it back (the C++ part) - in C99 declaration can appear at any place within a block. Didn't know it. -- Yevgeny > --Yevgeny > >> -- Hal >> >>> Jason > > _______________________________________________ > general mailing list > [email protected] > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general > > To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general > _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
