Dear friends, i am in mess with bitset again. i have managed to write a messy code which checks the machine bitsize and then wants to do a bitflip. here is the code: int bit; if (strncmp(sysptr, "i686",4)==0) { bit=32; } ...... bitset<32> i (0); ....etc. where in bitset is equal to bit,which is 32. but i tried to write the bitset as *bitset<bit> i (0);*(i.e. to read the bit as an integer variable) where its giving the error:error: ‘bit’ cannot appear in a constant- expression can you tell me a way to make that possible? -- Rudra JRF; SNBNCBS http://www.bose.res.in/~rudra A bus station is where a bus stops. A train station is where a train stops. On my desk I have a work station. Please, if possible, don't send me MS Word or PowerPoint attachments Why?See: http://www.gnu.org/philosophy/no-word-attachments.html ----- Original Message ---- From: "gcc-help-digest-help@xxxxxxxxxxx" <gcc-help-digest-help@xxxxxxxxxxx> To: gcc-help@xxxxxxxxxxx Sent: Thursday, 10 July, 2008 4:00:09 AM Subject: gcc-help Digest 9 Jul 2008 22:30:09 -0000 Issue 2773 gcc-help Digest 9 Jul 2008 22:30:09 -0000 Issue 2773 Topics (messages 33368 through 33386): directory separators in compiler generated assembly code 33368 by: Brian Dessent <brian@xxxxxxxxxxx> 33379 by: "Joe Tilton" <jhtilton@xxxxxxxxx> Including <iostream> affects whether or not program freezes? 33369 by: "James Gregory" <james.jrg@xxxxxxxxx> 33372 by: Lionel B <lionelb.nospam@xxxxxxxxx> 33375 by: "Andrew Bell" <andrew.bell.ia@xxxxxxxxx> 33376 by: Andrew Haley <aph@xxxxxxxxxx> 33380 by: "James Gregory" <james.jrg@xxxxxxxxx> 33381 by: "Chris Jefferson" <chris@xxxxxxxxxxxxxxx> 33382 by: Burlen Loring <burlen..loring@xxxxxxxxxxx> rambling about cross build inefficiencies, unclarities, and pie-in-the-sky 33370 by: Jay <jayk123@xxxxxxxxxxx> bitset in C 33371 by: Rudra Banerjee <bnrj.rudra@xxxxxxxxx> 33383 by: Dan Hipschman <dsh@xxxxxxxxxxxxxx> gcc for AIX 33373 by: "Vardhan, Sundara (GE Infra, Energy)" <sundara.vardhan@xxxxxx> 33374 by: "Eric Fernandez" <efernandez@xxxxxxxxxxxxxxxxxx> Passing information from analysis pass to assembly code 33377 by: Timothy M Jones <tjones1@xxxxxxxxxxxx> Little Endian vs Big Endian 33378 by: "Vardhan, Sundara (GE Infra, Energy)" <sundara.vardhan@xxxxxx> Gcc 4.3.1 installed , butproblem is with the asseembler 33384 by: gcc_help <pganesh@xxxxxxxxx> questions about gcc PIC port 33385 by: Platone Ilia <plato@xxxxxxxxxxx> GCC-4.3.1 source from mirror - no configure file 33386 by: "Ellis Robin (Bundaberg)" <Robin.Ellis@xxxxxxxxxxxxxx> Administrivia: To subscribe to the digest, e-mail: gcc-help-digest-subscribe@xxxxxxxxxxx To unsubscribe from the digest, e-mail: gcc-help-digest-unsubscribe@xxxxxxxxxxx To post to the list, e-mail: gcc-help@xxxxxxxxxxx ---------------------------------------------------------------------- Hi list, I just downloaded the gcc-4.3.1 source (gcc-4.3.1.tar.gz) from an ftp in Japan (ftp://ftp.dti.ad.jp/pub/lang/gcc/releases/gcc-4.3.1) and have attempted to configure from my build directory on solaris 10, only to find that I don't have a 'configure' file in my source. Is this just a temporary glitch, or has the configuration requirements changed since early February? Thanks Rob ************************************************************************ The information in this email together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this email message is prohibited, unless as a necessary part of Departmental business. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. ************************************************************************ Save all your chat conversations. Find them online at http://in.messenger.yahoo.com/webmessengerpromo.php