-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear all,

I have a problem with the cpp. Well, I have a definition:

#define DIM 4

then I need the preprocessor to concatenate "SOME_NAME_" with "DIM", ie
I want to it to return SOME_NAME_4 which is a function name.

Thus if I type:

SOME_VALUE_ some_operation{DIM} ()

the compiler should call:

SOME_VALUE_4()

Can this be done? I have read the info for cpp, and I noticed that 
prescanning of variables is not done for concatenating strings.

Thanks in advance,

Nikos
- -- 
Dr. Nikolaos A. Margaritis
Department of Physical Chemistry
National Research Centre for Physical Sciences "Demokritos"
Ag. Paraskevi, Athens 15310, Greece.
Tel: +30(0)1 650 3964
URL: http://mmml.chem.demokritos.gr/~nmargar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7zuIN+7yOA19c97kRAud9AJ9gGa+Z8Zz8MOQ05TtoNIDQfBWiigCfaXCx
hMpMKHOToTT3i16SjhcqWts=
=33xP
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to