Just an FYI, we're having quite a bit of trouble getting the code to work with AIX, mostly due to the non-type template parameters.
The Pool_alloc class is requiring a specialization for void, since void& is not valid. However it's not as simple as just creating a specialization, since that seems to trigger other errors.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think what you are describing is the constant template parameters which have also just recently been added to the GNU compiler? They are mentioned in Bjarne Stroustrup's text (sec 13.2.3), so imagine that they will eventually be supported by the AIX compiler. Perhaps there is an update?
In this new allocator version, the constant parameters serve as the keys to indicate the appropriate shared memory attach.
It is actually my goal to switch the SYS V semaphore calls to POSIX sem_init() etc calls. But these new POSIX semaphore calls will not be properly supported for shared processes by Linux, (pshared=1) until probably kernel 2.6.x if I understand Ullas Drepper's notes properly.
I am not sure I understand what you are describing concernign the Pool_alloc class specialization?
Marc
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just an FYI, we're having quite a bit of trouble getting the code to work with AIX, mostly due to the non-type template parameters.
The Pool_alloc class is requiring a specialization for void, since void& is not valid. However it's not as simple as just creating a specialization, since that seems to trigger other errors.
Michael,
I think what you are describing is the constant template parameters which have also just recently been added to the GNU compiler? They are mentioned in Bjarne Stroustrup's text (sec 13.2.3), so imagine that they will eventually be supported by the AIX compiler. Perhaps there is an update?
In this new allocator version, the constant parameters serve as the keys to indicate the appropriate shared memory attach.
It is actually my goal to switch the SYS V semaphore calls to POSIX sem_init() etc calls. But these new POSIX semaphore calls will not be properly supported for shared processes by Linux, (pshared=1) until probably kernel 2.6.x if I understand Ullas Drepper's notes properly.
I am not sure I understand what you are describing concernign the Pool_alloc class specialization?
Marc