Unix Programming - Re: Q: C macro's for lvalue statements ? Any C marco Guru's out

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > June 2004 > Re: Q: C macro's for lvalue statements ? Any C marco Guru's out





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Q: C macro's for lvalue statements ? Any C marco Guru's out
Måns Rullgård

2004-06-28, 8:59 am

"Gregor Copoix" <logical@xeption.de> writes:

>
>
>
> But this results still in an lvalue error as the concaternated text is a
> string for the preprocessor.
> int "var_module1" = 0;
> and results in an compiler error.
> I tried both # and ##.


Then your bug is somewhere else. It should work with ##.

--
Måns Rullgård
mru@kth.se
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com