[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: yacc.c: Extracting yysyntax_error
From: |
Hans Aberg |
Subject: |
Re: yacc.c: Extracting yysyntax_error |
Date: |
Wed, 21 Sep 2005 12:16:25 +0200 |
On 21 Sep 2005, at 10:18, Akim Demaille wrote:
I
confess I have no experience with signals in C++ though, and I guess
it is then pretty much the same as with C.
The C++ standard, 18.7:5, says:
The common subset of the C and C++ languages consists of all
declarations, definitions, and expressions
that may appear in a well formed C++ program and also in a conforming
C program. A POF (''plain old
function'') is a function that uses only features from this common
subset, and that does not directly or indi-
rectly use any function that is not a POF. All signal handlers shall
have C linkage. A POF that could be
used as a signal handler in a conforming C program does not produce
undefined behavior when used as a
signal handler in a C++ program. The behavior of any other function
used as a signal handler in a C++ pro-
gram is implementation defined.
Hans Aberg
- Re: yacc.c: Extracting yysyntax_error, Paul Eggert, 2005/09/20
- Re: yacc.c: Extracting yysyntax_error, Akim Demaille, 2005/09/20
- Re: yacc.c: Extracting yysyntax_error, Paul Eggert, 2005/09/20
- Re: yacc.c: Extracting yysyntax_error, Hans Aberg, 2005/09/21
- Re: yacc.c: Extracting yysyntax_error, Akim Demaille, 2005/09/21
- Re: yacc.c: Extracting yysyntax_error,
Hans Aberg <=
- Re: yacc.c: Extracting yysyntax_error, Paul Eggert, 2005/09/21
- Re: yacc.c: Extracting yysyntax_error, Hans Aberg, 2005/09/21
- Re: yacc.c: Extracting yysyntax_error, Hans Aberg, 2005/09/22
- Re: yacc.c: Extracting yysyntax_error, Paul Eggert, 2005/09/21