Hello, I have a problem with CPP here

2013-12-10 Thread taozhijiang
Hello, all: I have a program problem, ( may it not have close releationship with Debian), it described like this: I want to using #define / #undef, and want to put them in a single macro, some thing like: #define DECALRE_TYPE(type) \ { #undef __curr_type; #define _curr_type type; } as we

Re: Hello, I have a problem with CPP here

2013-12-10 Thread Russ Allbery
taozhijiang taozhiji...@gmail.com writes: I want to using #define / #undef, and want to put them in a single macro, some thing like: #define DECALRE_TYPE(type) \ { #undef __curr_type; #define _curr_type type; } as we know, this can not passed with CPP, but I need this logical here. I'm