May 21, 2008

stropts.h: No such file or directory

If during compilation your compiler complains about missing "stropts.h", don't wary. Most probably you are running on MacOS X 10.3 or FreeBSD 6.0 or NetBSD 3.0 or OpenBSD 3.8 or Cygwin or mingw or BeOS... or Fedora 9 (probably all modern Linux'es).

Simply to say, your system doesn't support STREAMS.

Linux espesially:
Linux doesn't support STREAMS (many years ago it was available as a third party module, but it hasn't worked for years). stropts.h is part of a POSIX XSR option, which Linux now, matching reality, says it is not supported.
and here we have the POSIX recommended check:

#include <unistd.h>
#if defined _XOPEN_STREAMS && _XOPEN_STREAMS == -1
/* XSR option is not available, headers, data types etc. may not be available. */
#endif
Hope it helps.

Apr 17, 2008

Visual C++ 2008 Feature Pack Release

Visual C++ 2008 Feature Pack Release

Why they just don't let MFC die?!

Overview
This final release of the Visual C++ 2008 Feature Pack extends the VC++ Libraries shipped with Visual Studio 2008 and is fully covered under Microsoft's standard support policies.

The VC++ 2008 MFC libraries have been extended to support creation of applications that have:

* Office Ribbon style interface

* Office 2007, Office 2003 and Office XP look and feel

* Modern Visual Studio-style docking toolbars and panes

* Fully customizable toolbars and menus

* A rich set of advanced GUI controls

* Advanced MDI tabs and groups

* And much more!


This feature pack also includes an implementation of TR1. Portions of TR1 are scheduled for adoption in the upcoming C++0x standard as the first major addition to the ISO 2003 standard C++ library. Our implementation includes a number of important features such as:

* Smart pointers

* Regular expression parsing

* New containers (tuple, array, unordered set, etc)

* Sophisticated random number generators

* Polymorphic function wrappers

* Type traits

* And more!