* JPEG - GNU Emacs 21.3.50.1
@ 2003-02-03 4:12 Dhruva Krishnamurthy
2003-02-03 8:42 ` Juanma Barranquero
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Dhruva Krishnamurthy @ 2003-02-03 4:12 UTC (permalink / raw)
Hello,
I tried building Emacs with JPEG support using the MinGW & JPEG 6.0.
INT32 is getting redefined in the MinGW tools distribution's "basetsd.h"
file and JPEG's "jmorecfg.h" file. I had to alter the "jmorecfg.h" and
prevent the redefinition by putting it in a "#ifdef emacs" block. Is
there a way to avoid redefinition of typedefs in 'C'?
I could then build the Emacs (emacs-version):
GNU Emacs 21.3.50.1 (i386-mingw-nt5.0.2195) of 2003-02-03 on WOLFDEI
PS: Can I use GTK build on Windows? I have GTK for Windows.
with regards,
dhruva
--
Dhruva Krishnamurthy
Home: http://www32.brinkster.com/schemer/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: JPEG - GNU Emacs 21.3.50.1
2003-02-03 4:12 JPEG - GNU Emacs 21.3.50.1 Dhruva Krishnamurthy
@ 2003-02-03 8:42 ` Juanma Barranquero
2003-02-03 18:52 ` Jan D.
2003-02-03 19:07 ` Jason Rumney
2 siblings, 0 replies; 4+ messages in thread
From: Juanma Barranquero @ 2003-02-03 8:42 UTC (permalink / raw)
Cc: Emacs Devel
On Mon, 03 Feb 2003 09:42:45 +0530, "Dhruva Krishnamurthy" <seagull@fastmail.fm> wrote:
> Hello,
> I tried building Emacs with JPEG support using the MinGW & JPEG 6.0.
> INT32 is getting redefined in the MinGW tools distribution's "basetsd.h"
> file and JPEG's "jmorecfg.h" file. I had to alter the "jmorecfg.h" and
> prevent the redefinition by putting it in a "#ifdef emacs" block.
Why?
I mean, it is causing you trouble the redefinition? With the MSVC
compiler, the warning says: "warning C4142: benign redefinition of type",
because it is redefining a type with another one of the same size.
> Is
> there a way to avoid redefinition of typedefs in 'C'?
You could do preprocessor tricks (renaming things before including the
relevant header, for example).
/L/e/k/t/u
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: JPEG - GNU Emacs 21.3.50.1
2003-02-03 4:12 JPEG - GNU Emacs 21.3.50.1 Dhruva Krishnamurthy
2003-02-03 8:42 ` Juanma Barranquero
@ 2003-02-03 18:52 ` Jan D.
2003-02-03 19:07 ` Jason Rumney
2 siblings, 0 replies; 4+ messages in thread
From: Jan D. @ 2003-02-03 18:52 UTC (permalink / raw)
Cc: Emacs Devel
>
> PS: Can I use GTK build on Windows? I have GTK for Windows.
Sorry, no. The event code uses functions that exist only in the X11 part
of GTK.
Jan D.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: JPEG - GNU Emacs 21.3.50.1
2003-02-03 4:12 JPEG - GNU Emacs 21.3.50.1 Dhruva Krishnamurthy
2003-02-03 8:42 ` Juanma Barranquero
2003-02-03 18:52 ` Jan D.
@ 2003-02-03 19:07 ` Jason Rumney
2 siblings, 0 replies; 4+ messages in thread
From: Jason Rumney @ 2003-02-03 19:07 UTC (permalink / raw)
Cc: Emacs Devel
"Dhruva Krishnamurthy" <seagull@fastmail.fm> writes:
> Hello,
> I tried building Emacs with JPEG support using the MinGW & JPEG 6.0.
> INT32 is getting redefined in the MinGW tools distribution's "basetsd.h"
> file and JPEG's "jmorecfg.h" file. I had to alter the "jmorecfg.h" and
> prevent the redefinition by putting it in a "#ifdef emacs" block. Is
> there a way to avoid redefinition of typedefs in 'C'?
The sources at gnuwin32.sourceforge.net prevent the redefinition with
#ifndef _WIN32_, so this seems to be a general problem with mingw32
and the jpeg library. Probably this should be reported to the
maintainers of jpeg-6b.
> PS: Can I use GTK build on Windows? I have GTK for Windows.
AFAIK, no. The GTK build still uses X specific features.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-02-03 19:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-03 4:12 JPEG - GNU Emacs 21.3.50.1 Dhruva Krishnamurthy
2003-02-03 8:42 ` Juanma Barranquero
2003-02-03 18:52 ` Jan D.
2003-02-03 19:07 ` Jason Rumney
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.