* 23.0; Current CVS Emacs: compiling fails on windows xp using msvc 2003
@ 2008-03-07 14:22 Christoph Conrad
2008-03-07 14:29 ` Jason Rumney
` (3 more replies)
0 siblings, 4 replies; 11+ messages in thread
From: Christoph Conrad @ 2008-03-07 14:22 UTC (permalink / raw)
To: bug-gnu-emacs
.\configure.bat --with-msvc --without-png --without-jpeg g --without-gif
--without-tiff --without-xpm
nmake bootstrap
=>
terminal.c
Code wird generiert...
d:\user\cco\emacs-cvs\src\terminal.c(391) : warning C4715: 'Fterminal_live_p': N
icht alle Steuerelementpfade geben einen Wert zurück
d:\user\cco\emacs-cvs\src\coding.c(6045) : warning C4700: Lokale Variable 'consu
med_chars' wurde ohne Initialisierung verwendet
d:\user\cco\emacs-cvs\src\coding.c(7352) : warning C4715: 'Fcheck_coding_system'
: Nicht alle Steuerelementpfade geben einen Wert zurück
NMAKE : fatal error U1077: 'cl': R³ckgabe-Code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio .NET 2003\VC7\
BIN\nmake.exe"': R³ckgabe-Code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio .NET 2003\VC7\
BIN\nmake.exe"': R³ckgabe-Code '0x2'
Stop.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 23.0; Current CVS Emacs: compiling fails on windows xp using msvc 2003
2008-03-07 14:22 23.0; Current CVS Emacs: compiling fails on windows xp using msvc 2003 Christoph Conrad
@ 2008-03-07 14:29 ` Jason Rumney
2008-03-07 14:39 ` Andreas Schwab
` (2 subsequent siblings)
3 siblings, 0 replies; 11+ messages in thread
From: Jason Rumney @ 2008-03-07 14:29 UTC (permalink / raw)
To: Christoph Conrad; +Cc: bug-gnu-emacs
Christoph Conrad wrote:
> .\configure.bat --with-msvc --without-png --without-jpeg g --without-gif
> --without-tiff --without-xpm
>
> nmake bootstrap
>
> =>
>
> terminal.c
> Code wird generiert...
> d:\user\cco\emacs-cvs\src\terminal.c(391) : warning C4715: 'Fterminal_live_p': N
> icht alle Steuerelementpfade geben einen Wert zurück
> d:\user\cco\emacs-cvs\src\coding.c(6045) : warning C4700: Lokale Variable 'consu
> med_chars' wurde ohne Initialisierung verwendet
> d:\user\cco\emacs-cvs\src\coding.c(7352) : warning C4715: 'Fcheck_coding_system'
> : Nicht alle Steuerelementpfade geben einen Wert zurück
> NMAKE : fatal error U1077: 'cl': R³ckgabe-Code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio .NET 2003\VC7\
> BIN\nmake.exe"': R³ckgabe-Code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio .NET 2003\VC7\
> BIN\nmake.exe"': R³ckgabe-Code '0x2'
> Stop.
>
You need to look at the complete output of nmake to find where the
earlier errors are that caused this.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 23.0; Current CVS Emacs: compiling fails on windows xp using msvc 2003
2008-03-07 14:22 23.0; Current CVS Emacs: compiling fails on windows xp using msvc 2003 Christoph Conrad
2008-03-07 14:29 ` Jason Rumney
@ 2008-03-07 14:39 ` Andreas Schwab
2008-03-09 2:17 ` Richard Stallman
[not found] ` <mailman.8497.1204900793.18990.bug-gnu-emacs@gnu.org>
[not found] ` <mailman.8496.1204900172.18990.bug-gnu-emacs@gnu.org>
3 siblings, 1 reply; 11+ messages in thread
From: Andreas Schwab @ 2008-03-07 14:39 UTC (permalink / raw)
To: Christoph Conrad; +Cc: bug-gnu-emacs
"Christoph Conrad" <christoph.conrad@gmx.de> writes:
> d:\user\cco\emacs-cvs\src\terminal.c(391) : warning C4715: 'Fterminal_live_p': N
> icht alle Steuerelementpfade geben einen Wert zurück
The compiler is too dumb to know that abort never returns.
> d:\user\cco\emacs-cvs\src\coding.c(6045) : warning C4700: Lokale Variable 'consu
> med_chars' wurde ohne Initialisierung verwendet
This is not a real problem since the undefined value of consumed_chars
is not used for anything else.
> d:\user\cco\emacs-cvs\src\coding.c(7352) : warning C4715: 'Fcheck_coding_system'
> : Nicht alle Steuerelementpfade geben einen Wert zurück
Again, xsignal1 never returns.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 23.0; Current CVS Emacs: compiling fails on windows xp using msvc 2003
[not found] ` <mailman.8497.1204900793.18990.bug-gnu-emacs@gnu.org>
@ 2008-03-07 15:00 ` Christoph Conrad
0 siblings, 0 replies; 11+ messages in thread
From: Christoph Conrad @ 2008-03-07 15:00 UTC (permalink / raw)
To: bug-gnu-emacs
Hi Andreas,
* Andreas Schwab <schwab@suse.de> wrote:
> [...]
It is clear that the warnings don't stop the make process. I did not see
any error, but obviously i have overlooked an error. Will do again on
monday (windows only in the company).
With kind regards,
Christoph
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 23.0; Current CVS Emacs: compiling fails on windows xp using msvc 2003
[not found] ` <mailman.8496.1204900172.18990.bug-gnu-emacs@gnu.org>
@ 2008-03-07 15:02 ` Christoph Conrad
2008-03-10 13:12 ` Christoph Conrad
1 sibling, 0 replies; 11+ messages in thread
From: Christoph Conrad @ 2008-03-07 15:02 UTC (permalink / raw)
To: bug-gnu-emacs
Hi Jason,
* Jason Rumney <jasonr@gnu.org> wrote:
> You need to look at the complete output of nmake to find where the
> earlier errors are that caused this.
I did not see any error, but obviously i have overlooked an error. Will
do again on monday (windows only in the company) - sorry for beeing
inattentive.
With kind regards,
Christoph
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 23.0; Current CVS Emacs: compiling fails on windows xp using msvc 2003
2008-03-07 14:39 ` Andreas Schwab
@ 2008-03-09 2:17 ` Richard Stallman
2008-03-09 8:02 ` Tobias Bading
0 siblings, 1 reply; 11+ messages in thread
From: Richard Stallman @ 2008-03-09 2:17 UTC (permalink / raw)
To: Andreas Schwab; +Cc: bug-gnu-emacs, christoph.conrad
The compiler is too dumb to know that abort never returns.
Maybe abort needs one more nickel in order to return.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 23.0; Current CVS Emacs: compiling fails on windows xp using msvc 2003
2008-03-09 2:17 ` Richard Stallman
@ 2008-03-09 8:02 ` Tobias Bading
2008-03-09 8:10 ` Christoph Conrad
0 siblings, 1 reply; 11+ messages in thread
From: Tobias Bading @ 2008-03-09 8:02 UTC (permalink / raw)
To: bug-gnu-emacs, Andreas Schwab, christoph.conrad; +Cc: rms
> The compiler is too dumb to know that abort never returns.
>
> Maybe abort needs one more nickel in order to return.
:-)
(sorry for replying to this mail instead of Andreas' or Christoph's,
but I just joined this list, don't have all of their original mails/
postings and my stupid news server won't let me post to
gnu.emacs.bug :-()
Anyway, process.h and stdlib.h of the old Mickeysoft DevStudio 6.0
SP6 both contain
#if _MSC_VER >= 1200
_CRTIMP __declspec(noreturn) void __cdecl abort(void);
so your compiler *should* know better. At least he can't blaim it on
the header files ;-).
(_MSC_VER=1200 is the Visual C++ 6.0 compiler, and your's is newer)
If your header files contain the same __declspec(noreturn), I'd say
the compiler is talking about an other path of control not involving
abort().
Have a nice day,
Tobias
PS: Please get the english version of DevStudio next time, the german
translations of some error messages are plain stupid... or feed them
to babelfish before posting ;-).
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 23.0; Current CVS Emacs: compiling fails on windows xp using msvc 2003
2008-03-09 8:02 ` Tobias Bading
@ 2008-03-09 8:10 ` Christoph Conrad
0 siblings, 0 replies; 11+ messages in thread
From: Christoph Conrad @ 2008-03-09 8:10 UTC (permalink / raw)
To: Tobias Bading; +Cc: Andreas Schwab, bug-gnu-emacs, rms
Hi Tobias,
> PS: Please get the english version of DevStudio next time
Sure - i did not order that version and forget to mention i want the
english version. Afterwards you cannot switch the german version to the
english version, i asked microsoft support.
> the german translations of some error messages are plain stupid
Agreed.
With kind regards,
Christoph
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 23.0; Current CVS Emacs: compiling fails on windows xp using msvc 2003
[not found] ` <mailman.8496.1204900172.18990.bug-gnu-emacs@gnu.org>
2008-03-07 15:02 ` Christoph Conrad
@ 2008-03-10 13:12 ` Christoph Conrad
2008-03-11 0:14 ` Jason Rumney
1 sibling, 1 reply; 11+ messages in thread
From: Christoph Conrad @ 2008-03-10 13:12 UTC (permalink / raw)
To: bug-gnu-emacs
Hi Jason,
* Jason Rumney <jasonr@gnu.org> wrote:
Tried again with freshly updated emacs today.
>> .\configure.bat --with-msvc --without-png --without-jpeg g
>> --without-gif --without-tiff --without-xpm
>>
>> nmake bootstrap
=>
* Resourcecompiler "rc" complained about the compressed
nt/icons/emacs.ico format. Web search revealed that VS 2008 accepts
that format, below VS 2008 not. So loaded that icon file into an icon
editor and switched off the compression.
* Linker complains about missing _round in "w32font.c". After adding a
round function to "w32font.c" compilation/linking worked.
With kind regards,
Christoph
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 23.0; Current CVS Emacs: compiling fails on windows xp using msvc 2003
2008-03-10 13:12 ` Christoph Conrad
@ 2008-03-11 0:14 ` Jason Rumney
2008-03-11 8:32 ` Christoph Conrad
0 siblings, 1 reply; 11+ messages in thread
From: Jason Rumney @ 2008-03-11 0:14 UTC (permalink / raw)
To: Christoph Conrad; +Cc: bug-gnu-emacs
Christoph Conrad wrote:
> Hi Jason,
>
> * Jason Rumney <jasonr@gnu.org> wrote:
>
> Tried again with freshly updated emacs today.
>
>
>>> .\configure.bat --with-msvc --without-png --without-jpeg g
>>> --without-gif --without-tiff --without-xpm
>>>
>>> nmake bootstrap
>>>
>
> =>
>
> * Resourcecompiler "rc" complained about the compressed
> nt/icons/emacs.ico format. Web search revealed that VS 2008 accepts
> that format, below VS 2008 not. So loaded that icon file into an icon
> editor and switched off the compression.
>
Is that a warning or an error? The resource compiler shouldn't really
care about the contents of the icon, it should just do as it is told and
include it as a resource.
> * Linker complains about missing _round in "w32font.c". After adding a
> round function to "w32font.c" compilation/linking worked.
>
We can probably work around this. msvc appears to have floor and ceil,
just not an equivalent of round or rint.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 23.0; Current CVS Emacs: compiling fails on windows xp using msvc 2003
2008-03-11 0:14 ` Jason Rumney
@ 2008-03-11 8:32 ` Christoph Conrad
0 siblings, 0 replies; 11+ messages in thread
From: Christoph Conrad @ 2008-03-11 8:32 UTC (permalink / raw)
To: Jason Rumney; +Cc: bug-gnu-emacs
Hi Jason,
* Jason Rumney <jasonr@gnu.org> wrote:
>> * Resourcecompiler "rc" complained about the compressed
>> nt/icons/emacs.ico format. [...]
> Is that a warning or an error? The resource compiler shouldn't really
> care about the contents of the icon, it should just do as it is told
> and include it as a resource.
I agree, it should be a warning, but it is an error, saying "old DIB in
res\main.ico; pass it through SDKPAINT". According to a search with
google you need a "vista-aware" resource compiler. Removing the
compression from the icon made it acceptable to the visual studio 2003
resource compiler.
>> * Linker complains about missing _round in "w32font.c". After adding
>> a round function to "w32font.c" compilation/linking worked.
> We can probably work around this. msvc appears to have floor and ceil,
> just not an equivalent of round or rint.
Yes, at least with visual studio 2003.
With kind regards,
Christoph
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2008-03-11 8:32 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-07 14:22 23.0; Current CVS Emacs: compiling fails on windows xp using msvc 2003 Christoph Conrad
2008-03-07 14:29 ` Jason Rumney
2008-03-07 14:39 ` Andreas Schwab
2008-03-09 2:17 ` Richard Stallman
2008-03-09 8:02 ` Tobias Bading
2008-03-09 8:10 ` Christoph Conrad
[not found] ` <mailman.8497.1204900793.18990.bug-gnu-emacs@gnu.org>
2008-03-07 15:00 ` Christoph Conrad
[not found] ` <mailman.8496.1204900172.18990.bug-gnu-emacs@gnu.org>
2008-03-07 15:02 ` Christoph Conrad
2008-03-10 13:12 ` Christoph Conrad
2008-03-11 0:14 ` Jason Rumney
2008-03-11 8:32 ` Christoph Conrad
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.