> >What options did you pass to the compiler? The snippet compiles fine >with gcc 4.5.2 (Solaris 11) and 4.6.2 (SmartOS). > Yes but it does not compile with gcc 4.7.2. BTW, the solution posted by James Carlson works! Thanks a lot! A.S. ---------------------- Apostolos Syropoulos Xanthi, Greece