delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/12/10:50:48

From: stevens AT gsfc DOT nasa DOT gov (Joe Stevens)
Subject: Re: mywinsock.h
12 Jan 1998 10:50:48 -0800 :
Message-ID: <Pine.SUN.3.95.980112080019.19137A-100000.cygnus.gnu-win32@defiant.gsfc.nasa.gov>
References: <01bd1ed5$eea80ce0$0100a8c0 AT wolve DOT linknet DOT net>
Reply-To: Joe Stevens <Joe DOT Stevens AT gsfc DOT nasa DOT gov>
Mime-Version: 1.0
To: Brent Flannery <brentf AT linknet DOT net>
Cc: gnu-win32 AT cygnus DOT com

On Sun, 11 Jan 1998, Brent Flannery wrote:

| It seems as though whenever I try to compile a file with mywinsock.h I get
| the following errors..
| 
| C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-97040
| 4\..
| /../../../i386-cygwin32/include/mywinsock.h:87: syntax error before
| `u_short'
| C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-97040
| 4\..
| /../../../i386-cygwin32/include/mywinsock.h:782: syntax error before string
| cons
| tant
| C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-97040
| 4\..
| /../../../i386-cygwin32/include/mywinsock.h:829: syntax error before `}'
| GCC.EXE: Internal compiler error: program cc1 got fatal signal 33
| 
| 
| I get this even if I just create a file "test.c" with 1 line "#include
| <mywinsock.h>
| 
| Is there something I am missing here?
| 
| 
| 
| Also, what is ming32, and what is its home page?
| 

There may be a small problem. Where is the exact location of mywinsock.h?

Your include statement is looking for in the standard header file
location. If your header file is in the same location as test.c, then the
include statement should look like this

#include "mywinsock.h"

or if you have  a header directory then,

#include "./header/myswinsock.h"

Hope this helps.

-Joe Stevens-)))--->> URL http://www530.gsfc.nasa.gov/~stevens
-----------------------------------------------+
|\ | /\ (<  /\     Goddard Space Flight Center |
| \|/  \ >)/  \    Network Engineering Branch  |
Code 531.2, Greenbelt, Maryland 20771          |
Email: joe DOT stevens AT gsfc DOT nasa DOT gov      :-)      |
Tel: (301) 286-1557   Fax: (301) 286-1724      |
-----------------------------------------------+
  _     
 ___    "Remember the mission."
(- -)   
  ^      
  V      


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019