...making Linux just a little more fun!

Talkback

Talkback:147/pfeiffer.html

[ In reference to "Tips on Using Unicode with C/C++" in LG#147 ]

Jimmy O'Regan [joregan at gmail.com]


Thu, 20 Mar 2008 02:41:13 +0000

I was reminded of Ren?'s article while trying to get Apertium to compile with Cygwin, because Cygwin lacks wide string support in g++. I tried to find a canned piece of m4, to give a warning about this at configure time instead of compile time, but, alas, I couldn't find anything and had to write something myself.

Does anyone know enough about configure etc. to find any obvious problems with this?

# Check for wide strings
AC_DEFUN([AC_CXX_WSTRING],[
  AC_CACHE_CHECK(whether the compiler supports wide strings,
  ac_cv_cxx_wstring,
  [AC_LANG_SAVE
   AC_LANG_CPLUSPLUS
   AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <string>]],[[
std::wstring test = L"test";
int main () {}
   ]])],
   [ac_cv_cxx_wstring=yes], [ac_cv_cxx_wstring=no])
   AC_LANG_RESTORE
  ])
])
 
AC_CXX_WSTRING
 
if test "$ac_cv_cxx_wstring" = no
then
  AC_MSG_ERROR([Missing wide string support])
fi

[ Thread continues here (3 messages/4.63kB) ]


Talkback:147/appaiah.html

[ In reference to "A dummies introduction to GNU Screen" in LG#147 ]

Cesar Rodriguez [cesarrd at gmail.com]


Wed, 19 Mar 2008 19:06:16 -0400

Thanks i was using screen but just with rtorrent after your article i don't know how i can live before without screen.

Thanks.

-- Cesar Rodriguez


Talkback:148/okopnik.html

[ In reference to "Installing Linux on a Dead Badger (Book Review)" in LG#148 ]

Ben Okopnik [ben at linuxgazette.net]


Sun, 2 Mar 2008 15:05:38 -0500

----- Forwarded message from "\"Steve Lawson\"" <steve.lawson@steve.lawson.bbmax.co.uk> -----

To: editor@linuxgazette.net
From: "\"Steve Lawson\"" <steve.lawson@steve.lawson.bbmax.co.uk>
Reply-To: "\"Steve Lawson\"" <steve.lawson@steve.lawson.bbmax.co.uk>
Subject: tkb: Talkback:148/okopnik.html 
Date: Sun, 02 Mar 2008 18:50:41 +0000
Could you ask the author of the review of the book, 'Installing Linux on a Dead Badger', which features in the latest edition of Linux Gazette, what the book is actually about? Having read his admittedly witty and erudite review, I'm still no clearer. Thank you, Steve Lawson Glasgow Scotland

----- End forwarded message -----

-- 
* Ben Okopnik * Editor-in-Chief, Linux Gazette * https://LinuxGazette.NET *

[ Thread continues here (3 messages/4.54kB) ]


Talkback: Discuss this article with The Answer Gang

Copyright © 2008, . Released under the Open Publication License unless otherwise noted in the body of the article. Linux Gazette is not produced, sponsored, or endorsed by its prior host, SSC, Inc.

Published in Issue 149 of Linux Gazette, April 2008

Tux