[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What's the proper way to get cchar_t?

From: Pierre Abbat
Subject: What's the proper way to get cchar_t?
Date: Mon, 27 Mar 2006 12:27:12 -0500
User-agent: KMail/1.8.3

I'm writing an ncurses program which computes the volume of a cylindrical 
shell. I'm using Unicode, so I want wide characters. I defined 
_XOPEN_SOURCE_EXTENDED so that I could get cchar_t, but then the preprocessor 
didn't know what M_PI is. I undefined it, and got it to run where some files 
were compiled with -D_XOPEN_SOURCE_EXTENDED and some without, but then I 
edited another source file and now it doesn't know what cchar_t is. How do I 
fix this?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]