Re: gtk2 Segmentation faults
- From: Ronald Bultje <rbultje ronald bitfreak net>
- To: Kristian Peters <kristian peters korseby net>
- Cc: Owen Taylor <otaylor redhat com>, gtk-list gnome org
- Subject: Re: gtk2 Segmentation faults
- Date: 17 Mar 2002 23:08:13 +0100
On Sun, 2002-03-17 at 23:00, Kristian Peters wrote:
> int main( int argc,
> char *argv[] )
> {
> printf("1\n");
> GtkWidget *window;
> printf("2\n");
> [...]
>
> reveals:
I wonder why this actually compiled, you're using a declaration of a
variable after a function call, which is not allowed in C...
Ronald
--
- .-.
- /V\ | Ronald Bultje <rbultje ronald bitfreak net>
- // \\ | Running: Linux 2.4.18-XFS and OpenBSD 3.0
- /( )\ | http://ronald.bitfreak.net/
- ^^-^^
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]