RE: MSVC compiler support [patch 16]: liboctave exported symbols
From:
michael . goffioul
Subject:
RE: MSVC compiler support [patch 16]: liboctave exported symbols
Date:
Fri, 27 Oct 2006 12:22:40 +0200
> I applied this patch, except for the part of this section that
> undefines min and max. Why is that needed here but not in any other
> files that use min or max?
The problem only occurs because some Windows header defines min and
max as macros. oct-time.cc includes <windows.h> before oct-time.h; hence
the compilation error.