Another possibility is that the previous builder was using different settings for the compile than I am using - perhaps a older version compatabilityįlag or something like that.One possibility is that the previous builder of this code precompiled these (and probably all 3rd party and MS) headers separately using a differentĮnvironment or different settings prior to the build, and he had the pre-compiled headers available when he ran the main build, so he would not have.Typedef _W64 unsigned long ULONG_PTR, *PULONG_PTR Typedef _W64 unsigned int UINT_PTR, *PUINT_PTR Typedef unsigned _int64 ULONG_PTR, *PULONG_PTR Typedef unsigned _int64 UINT_PTR, *PUINT_PTR Typedef unsigned _int3264 ULONG_PTR, *PULONG_PTR Typedef unsigned _int3264 UINT_PTR, *PUINT_PTR anywhere that a pointer is cast to an integer type. UINT_PTR is The INT_PTR is guaranteed to be the same size as a pointer. The following types are guaranteed to be unsigned and 32 bits wide. The following types are guaranteed to be signed and 32 bits wide. Typedef unsigned _int64 UINT64, *PUINT64 Type definitions for the basic sized types. Here are lines 41 through 58 of xvt_type.h (apparently a third party include file):Ĭopyright (c) Microsoft Corporation. The middle two errors are only occurring once. I put the errors twice simply to emphasize that I am receiving these errors The first two errors and the last two errors come from the same include file. \develop\3rdParty\xvtdsp45\w32_x86\include\xvt_typ e.h(55) : error C2040: 'ULONG_PTR' : 'unsigned long *' differs in levels of indirection from 'unsignedĬ:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\basetsd.h(92) : error C2040: 'LONG_PTR' : 'long' differs in levels of indirection from 'long *'Ĭ:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\basetsd.h(93) : error C2040: 'ULONG_PTR' : 'unsigned long' differs in levels of indirection from 'unsigned \develop\3rdParty\xvtdsp45\w32_x86\include\xvt_typ e.h(54) : error C2040: 'LONG_PTR' : 'long *' differs in levels of indirection from 'long' Here are the exact error messages I am receiving: Strongly prefer adjustments to the build environment over code modification to get it to work, so please focus your assistance/suggestions in this area. (projects) to build, but am getting primarily two errors with the remaining 10 clases (projects).īecause I know this code base was building properly (for someone else who is no longer available on a machine that is no longer available), I would Instructions for this from a similar (in terms of languages and tools used) product that was written around the same time. Iĭo not have specific instructions for this product on how to adjust the references to libraries, includes, etc. The source repository contained a workspace (.dsw) file that I am using for all of the projects. I have set up the build on my system using MSVC++ 6.0. ![]() ![]() Computers (and backups of those computers) previously used for running this build are ![]() Help getting past a couple of issues that I have encountered. I have only a little experience building with this environment (I am otherwise a seasoned developer) so I need Mixture of C and C++) is no longer with the company, but when he built the code he used MSVC++, and though I am not certain of the version he was I am trying to rebuild code for a working, commercially sold application with only partial build instructions. ![]() I am posting two threads because I have two different problems, but both have the same background information.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |