Issue 6315 - VC++: stdio.h(358) : error C3163: '_vsnprintf': attributes inconsistent with previous declaration
Summary: VC++: stdio.h(358) : error C3163: '_vsnprintf': attributes inconsistent with ...
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.16
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 15:58 UTC by neustradamus@hotmail.com
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description neustradamus@hotmail.com 2009-09-30 15:58:19 UTC
Full_Name: Neustradamus
Version: 2.4.16
OS: Windows Server 2008
URL: ftp://ftp.openldap.org/incoming/log-compil-openldap.txt
Submission from: (NULL) (2a01:e34:ee8a:1e0:5064:1d53:e87:c8ac)


Hello,

I have errors :
stdio.h(358) : error C3163: '_vsnprintf': attributes inconsistent with previous
declaration

Microsoft decided to define vsnprintf in VS 2008 release.
Many libraries, such as WinPcap, defined vsnprintf function by themselves
because vsnprintf does not exist in previous versions of stdio.h.

http://rjeng.blogspot.com/2008/06/vc-stdioh358-error-c3163-attributes.html

http://www.xfire.com/blog/godjonez/816493/

'vsnprintf'
'_vsnprintf'
http://msdn2.microsoft.com/en-us/library/1kt27hek.aspx

Can you update OpenLDAP ?

After I have problems with the "/" which is "\" in Windows.
openldap\include\ac/regex.h(36) : fatal error C1083: Impossible d'ouvrir le
fichier include : 'regex.h' : No such file or directory
...

Thanks in advance,

Regards,

Neustradamus
Comment 1 Howard Chu 2009-10-01 19:04:53 UTC
changed notes
published 6315
marked public
changed state Open to Closed
moved from Incoming to Archive.Incoming
Comment 2 OpenLDAP project 2014-08-01 21:06:18 UTC
dup #6312