This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why did you make streambufs noncopyable?


On Wed, Jun 04, 2003 at 11:41:03PM -0400, Daryle Walker wrote:
> 
> #if defined(__GNUC__) && (( __GNUC__ > 3 ) || ( (__GNUC__ == 3) && 
> (__GNUC_MINOR__ >= XXX) ))
> // my code that you don't like
> #endif

You can remove the "if defined" test.  In a #if statement's comparisons,
anything not defined is 0.

> Here, I would need to know when you introduced this change.  
> Specifically, I need the value of the "XXX" I had in this example.  Of 
> course, if this preprocessor check is totally wrong, please correct.

At least 3.1, I think.  Maybe earlier.

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]