Re: Help on compiling with Japanese Text

2006-12-01 Thread Philipp Thomas
* Alan Ong ([EMAIL PROTECTED]) [20061201 03:35]:

> Hello,
>I am trying to compile my code with hard-coded Japanese Kanji and
> full-width katakana string text but the compiler view some of the text
> as escape characters.

Please ask on [EMAIL PROTECTED] This list deals with the development of
GCC.

Philipp


Re: identifying c++ aliasing violations

2005-12-12 Thread Philipp Thomas
On Sun,  4 Dec 2005 20:07:33 -0500 (EST), Jack Howarth wrote:

>swigpy.cc: In function 'int SWIGPY_Python_ConvertPtr(PyObject*, void**, 
>swig_typ
>e_info*, int)':
>swigpy.cc:620: warning: dereferencing type-punned pointer will break 
>strict-alia
>sing rules

My recent encounters with python (in my case libboost_python) have shown
me that code that uses the Python interface has to use
no-strict-aliasing. Even the Python folks decided to use that switch in
2003 for the Python code (written in C).

This is mostly because Python code is riddled with casts to PyObject.

Philipp


Re: Memory leak in bt-load.c ?

2006-01-10 Thread Philipp Thomas
* Christophe Jaillet ([EMAIL PROTECTED]) [20060109 20:00]:

> in file 'bt-load.c', in function 'augment_live_range', some memory is
> xmalloc'ed. It seems to be possible to never free it, if all the first tests
> are true.

This is now PR 25739.

Philipp



Re: Poor internal documentation (was: dragonegg in FSF gcc?)

2010-04-23 Thread Philipp Thomas
* Ian Lance Taylor (i...@google.com) [20100413 00:41]:

> Details of GIMPLE IR: poor.
> Details of tree IR: poor.
> How to write a new optimization pass: poor.
> How to write a new frontend: nonexistent.
> General overview of compiler source: nonexistent.
> Overview of internal compiler datastructures: nonexistent.

I'd say these these warrant an additional bullet "Documentation" under
"Improving GCC" on the GCC wiki that then lists (at least) these points.
It's not much, but it at least shows the GCC developers are aware and just
maybe it does attract the interest of someone.

Philipp


Re: Upgrade to GCC.4.3.2

2008-12-28 Thread Philipp Thomas
On Sun, 28 Dec 2008 14:24:22 -0500, you wrote:

>I have SLES9 and Linux-2.6.5-7.97 kernel install on i586 intel 32 bit 
>machine.  The compiler is gcc-c++3.3.3-43.24.  I want to upgrade to 
>GCC4.3.2.  My question are: Would this upgrade work with 
>SLES9?

This is the wrong list for such questions. You should try a SUSE
specific list like opens...@opensuse.org or
opensuse-programm...@opensuse.org

Philipp


Re: Poor internal documentation (was: dragonegg in FSF gcc?)

2010-06-04 Thread Philipp Thomas
On Fri, 23 Apr 2010 16:23:29 +0200, Manuel López-Ibáñez
 wrote:

>Great! Go ahead, please. The wiki is easy to edit.

Finally I got around to do it.

Editing is easy ... kind of :) Creating the Links was easy but I
failed do discover how I could actually make them point to other wiki
pages. 

> Bonus points if you collect there links to the existing documentation,
> so anyone wishing to help has the many sources at hand.

Maybe I will find the time but I doubt that.

Philipp


Re: GCC Error Codes

2006-01-20 Thread Philipp Thomas
On Sun, 15 Jan 2006 10:40:19 -0600, Perry Smith wrote:

> From Andreas's reply, it may not.  In AIX, they want the message to  
>come out in the user's native language so they print out the  
>translated message (that comes from a separate file).

It's the same with gettext. You have a file containing key and value
(i.e. original text and it's translation) for each language, normally
residing under /usr/share/locale//LC_MESSAGE/.mo
. Now in order to retrieve the localized message, the library will
search for a translation matching the message in the program by
searching the relevant message catalog for the current locale.

Philipp


Re: 64-Bit Operator Overloading Adventure

2008-01-12 Thread Philipp Thomas
On Fri, 11 Jan 2008 09:59:41 -0800, Brian D. McGrew wrote:

>We're trying to move to 64-Bit now and this same code that has compiled
> for years is barking about operators cannot be overloaded.

Please stick to gcc-help, as gcc is the wrong list for such questions.

Philipp


Re: Where to get a list of warning and error messages

2008-07-18 Thread Philipp Thomas
* Simon Toth ([EMAIL PROTECTED]) [20080718 13:16]:

> Is there any full database of gcc warnings and errors?

AFAIK, there isn't one. I guess your best choice is gcc.pot (i.e. the
message catalog) in the po subdir.

Philipp