unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "William Xue" <william.xue@gmail.com>
To: "Juanma Barranquero" <lekktu@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: EXIT_SUCCESS and NO_RETURN in /lib-src
Date: Wed, 14 Feb 2007 10:22:25 +0800	[thread overview]
Message-ID: <op.tnpvjnaehkv0w5@williamnb> (raw)
In-Reply-To: <f7ccd24b0702130109k60c9c92ch8400080a017d395c@mail.gmail.com>

On Tue, 13 Feb 2007 17:09:03 +0800, Juanma Barranquero <lekktu@gmail.com>  
wrote:

> On 2/13/07, William Xue <william.xue@gmail.com> wrote:
>
>> It seems that only one -I flag allowed in this situation.
>> I specified the include path because I put all the graphic's header
>> files(gif, bmp, jpg, tiff, etc) in there.
>>
>> I did not know many about the flags in MinGW and GCC. Is there something
>> wrong or it is the limitation of the compiler?
>
> FWIW, I build the emacs-unicode-2 branch on Windows XP with MinGW (gcc
> (GCC) 3.4.5 (mingw special) according to -v), passing -I to
> configure.bat:
>
>  cmd /c configure.bat --with-gcc --no-cygwin --cflags  
> -IC:/emacs/build/include
>
> and it works just fine.
>
>              Juanma

Finally, I find the reason of the issue. In my '../nt/inc' folder, there  
is another 'config.h' which is for 'libxpm', I think.
So, after I specified the '--cflags -I./inc' as a parameter of  
configure.bat, the errors is running.

IMHO, This is a potential bug, anyway, I should include that 'config.h' if  
I want to build emacs with graphics supported.

-- 
Sincerely yours,
William

  parent reply	other threads:[~2007-02-14  2:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-12  6:33 EXIT_SUCCESS and NO_RETURN in /lib-src William Xue
2007-02-12 20:46 ` Eli Zaretskii
2007-02-13  3:07   ` William Xue
2007-02-13  4:25     ` Eli Zaretskii
2007-02-13  6:11       ` William Xue
2007-02-13  9:09         ` Juanma Barranquero
2007-02-13  9:15           ` William Xue
2007-02-13  9:20             ` Juanma Barranquero
2007-02-14  2:22           ` William Xue [this message]
2007-02-14  2:34             ` Juanma Barranquero
2007-02-14  2:44               ` William Xue
2007-02-14  2:58                 ` Juanma Barranquero
2007-02-15  1:52                   ` William Xue
2007-02-14 15:13             ` Eli Zaretskii
2007-02-14 14:53         ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=op.tnpvjnaehkv0w5@williamnb \
    --to=william.xue@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).