apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: svn commit: r434327 - in /apr/apr/trunk: CHANGES include/arch/win32/apr_arch_threadproc.h misc/win32/start.c threadproc/win32/threadpriv.c
Date Fri, 15 Sep 2006 13:05:51 GMT
Branko ─îibej wrote:
> William A. Rowe, Jr. wrote:
>> Branko ─îibej wrote:

I'm attaching the threadpriv.c
Adding any of the '#pragma data_seg'
gives the following compile time warning for static
APR compiled for a simple hello-world.c:

MSVCRTD.lib(crtexe.obj) : warning LNK4078: multiple '.CRT' sections found with different attributes
(40400040)
MSVCRTD.lib(cinitexe.obj) : warning LNK4254: section '.CRT' (C0000040) merged into '.rdata'
(40000040) with different attributes

Build with:
Microsoft Visual Studio 2005, Version 2.0.50727
Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50727.42 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

On:
Microsoft Windows Server 2003 R2
Standard x64 Edition
Service Pack 1

The same code works on x86 (Windows XP/32) with either static or
dll flavor of APR.

Attached the source code...

I'm really feeling stupid here. You are saying it works,
but I've spend more then 20 working hours, and I can not make
it even to compile without warnings.

--
Mladen.


Mime
View raw message