zsh-workers
 help / color / mirror / code / Atom feed
From: Borzenkov Andrey <Andrey.Borzenkov@siemens.com>
To: "'Bart Schaefer'" <schaefer@brasslantern.com>, zsh-workers@sunsite.dk
Subject: RE: Conflict with zftp + tcp modules?
Date: Mon, 21 Apr 2003 15:49:50 +0400	[thread overview]
Message-ID: <6134254DE87BD411908B00A0C99B044F03A0B6C3@mowd019a.mow.siemens.ru> (raw)
In-Reply-To: <030415145955.ZM28492@candle.brasslantern.com>


> 
> I hadn't noticed this until I attempted to statically include both modules
> in the same build:
> 
> In file included from zftp.c:53:
> zftp.mdh:6: warning: `boot_' redefined
> tcp.mdh:6: warning: this is the location of the previous definition
> zftp.mdh:7: warning: `cleanup_' redefined
> tcp.mdh:7: warning: this is the location of the previous definition
> zftp.mdh:8: warning: `setup_' redefined
> tcp.mdh:8: warning: this is the location of the previous definition
> zftp.mdh:9: warning: `finish_' redefined
> tcp.mdh:9: warning: this is the location of the previous definition

it was never intended to work this way. Zftp.c includes zftp.mdh and tcp.h
that in turn includes tcp.mdh. mdh is expected to _the_ only and single mdh
for the module being compiled; having two mdh's is wrong.

Oliver, Peter, could you look in tcp and see if you can move tcp.mdh into
tcp.c?

-andrey


  reply	other threads:[~2003-04-22 11:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-15 21:59 Bart Schaefer
2003-04-21 11:49 ` Borzenkov Andrey [this message]
2003-04-23 17:47   ` Peter Stephenson

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=6134254DE87BD411908B00A0C99B044F03A0B6C3@mowd019a.mow.siemens.ru \
    --to=andrey.borzenkov@siemens.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).