Re: [boost] Boost.Interprocess file_mapping strange error.

Of course ... sorry ;) -----Message d'origine----- De : boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] De la part de Ion Gaztañaga Envoyé : mercredi 20 juin 2007 17:13 À : boost@lists.boost.org Objet : Re: [boost] Boost.Interprocess file_mapping strange error. Hi, joel.vennin@sgam.com wrote:
Hi !
I use the Interprocess library version 2006-10-13.
I recommend you downloading the latest code from CVS so that you can get bug-fixes.
[example] So when I debug this code: the debugger enter to the file_mapping constructor, next evaluate the following line:
//Check accesses
if (mode != read_write || mode != read_only){
error_info err = other_error;
throw interprocess_exception(err);
} And it throws the error. So I really don't understand why it does it.
Because the line is not correct. It should be: mode != read_write && mode != read_only This is already fixed in the CVS code, Ion _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration. Societe Generale Asset Management et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. Decouvrez l'offre et les services de Societe Generale Asset Management sur le site www.sgam.fr ******** This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration. Neither Societe Generale Asset Management nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. Find out more about Societe Generale Asset Management's proposal on www.sgam.com
participants (1)
-
joel.vennin@sgam.com