public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
From: "Mark Weaver" <mark@npsl.co.uk>
To: "jefe goode" <jefe_goode@yahoo.com>, <pthreads-win32@sources.redhat.com>
Subject: RE: pthread declaration  problem
Date: Wed, 12 May 2004 01:00:00 -0000	[thread overview]
Message-ID: <GFEPJIHHFOJDOFDMNAJDKEEDIMAA.mark@npsl.co.uk> (raw)
In-Reply-To: <20040512003731.20656.qmail@web61001.mail.yahoo.com>

> Complete program below:
>
> compiler output is 7 errors -- (all type info not
> found -- the other 6 errors are knock-on ones )
>
> C:\PROJECTS\CP3\Thread1\Thread1.cpp(22) : error C2065:
> 'pthread_t' : undeclared identifier
>
>
> Regards and Thanks
>
> Jefe
> --------------- Listing below  --------------
>
> #include "Thread.h"
> #include "pthread.h"
> #include "sched.h"
> #include "semaphore.h"
> #include <stdlib.h>
> #include <unistd.h>
> #include <stdio.h>
>
> #include "stdafx.h"
>  void print_message_function( void *ptr );
>

If using PCH (precompiled headers) under VC6, then all lines before #include
"stdafx.h" are ignored.  Try moving this to the top or turning off PCH.

  reply	other threads:[~2004-05-12  1:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-11 22:11 jefe goode
2004-05-11 23:26 ` Mark Weaver
2004-05-12  0:13   ` jefe goode
2004-05-12  0:23     ` Mark Weaver
2004-05-12  0:37       ` jefe goode
2004-05-12  1:00         ` Mark Weaver [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-05-11 22:11 jefe goode

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=GFEPJIHHFOJDOFDMNAJDKEEDIMAA.mark@npsl.co.uk \
    --to=mark@npsl.co.uk \
    --cc=jefe_goode@yahoo.com \
    --cc=pthreads-win32@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).