Hi Folks, It recently became known that our customer is using GCC 3.2.3; so I tried to compile our code (which makes heavy use of the FOREACH macro) with 3.2.3. I get a _ton_ of error messages like: warning: unused variable `bool _foreach_rvalue' Since we always compile with options that make warnings fatal, a large part of our project can't compiler with GCC 3.2.3. Has anyone else seen this? Does anyone have a solution? (e.g. is there a hack that will fool compilers into thinking _foreach_rvalue is used?) Thanks!! ---------------------------------------------------------------------- Dave Steffen, Ph.D. "There are two ways to write error-free Software Engineer IV programs; only the third one works." Numerica Corporation ph (970) 419-8343 x27 "Pie are not square. Pie are round. fax (970) 223-6797 Cornbread are square" dgsteffen@numerica.us ... anon (usenet) ___________________ Numerica Disclaimer: This message and any attachments are intended only for the individual or entity to which the message is addressed. It is proprietary and may contain privileged information. If you are neither the intended recipient nor the agent responsible for delivering the message to the intended recipient, you are hereby notified that any review, retransmission, dissemination, or taking of any action in reliance upon, the information in this communication is strictly prohibited, and may be unlawful. If you feel you have received this communication in error, please notify us immediately by returning this Email to the sender and deleting it from your computer.
Dave Steffen wrote:
Hi Folks,
It recently became known that our customer is using GCC 3.2.3; so I tried to compile our code (which makes heavy use of the FOREACH macro) with 3.2.3. I get a _ton_ of error messages like:
warning: unused variable `bool _foreach_rvalue'
For compilers that cannot detect const rvalues, _foreach_rvalue is indeed unused. It should be fixed now. Thanks. -- Eric Niebler Boost Consulting www.boost-consulting.com
Eric Niebler writes:
Dave Steffen wrote:
Hi Folks,
It recently became known that our customer is using GCC 3.2.3; so I tried to compile our code (which makes heavy use of the FOREACH macro) with 3.2.3. I get a _ton_ of error messages like:
warning: unused variable `bool _foreach_rvalue'
For compilers that cannot detect const rvalues, _foreach_rvalue is indeed unused. It should be fixed now. Thanks.
Thank _you_! Yes, that seems to work, everything compiles... I'm now running into link problems, but that may be on our end. Thanks again! ---------------------------------------------------------------------- Dave Steffen, Ph.D. "There are two ways to write error-free Software Engineer IV programs; only the third one works." Numerica Corporation ph (970) 419-8343 x27 "Pie are not square. Pie are round. fax (970) 223-6797 Cornbread are square" dgsteffen@numerica.us ... anon (usenet) ___________________ Numerica Disclaimer: This message and any attachments are intended only for the individual or entity to which the message is addressed. It is proprietary and may contain privileged information. If you are neither the intended recipient nor the agent responsible for delivering the message to the intended recipient, you are hereby notified that any review, retransmission, dissemination, or taking of any action in reliance upon, the information in this communication is strictly prohibited, and may be unlawful. If you feel you have received this communication in error, please notify us immediately by returning this Email to the sender and deleting it from your computer.
participants (2)
-
Dave Steffen
-
Eric Niebler