T
Tomás Ó hÉilidhe
If you have:
#define errno retrieve_errno_func()
#define SUBSYSTEM_INCLUDE(subsystem, file) <subsystem/include/file>
then what should happen when you do:
#include SUBSYSTEM_INCLUDE(posix, errno.h)
gcc2.95 pre-processes as intended, to:
#include <posix/include/errno.h>
gcc3.4 preprocessed to:
#include <posix/include/retrueve_errno_func()>
My guess is that gcc3.4 was the correct one, even though it didn't
produce the intended result.
#define errno retrieve_errno_func()
#define SUBSYSTEM_INCLUDE(subsystem, file) <subsystem/include/file>
then what should happen when you do:
#include SUBSYSTEM_INCLUDE(posix, errno.h)
gcc2.95 pre-processes as intended, to:
#include <posix/include/errno.h>
gcc3.4 preprocessed to:
#include <posix/include/retrueve_errno_func()>
My guess is that gcc3.4 was the correct one, even though it didn't
produce the intended result.