r1399 ACC compile warning

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: r1399 ACC compile warning

Re: r1399 ACC compile warning

by Macil » Wed Feb 04, 2009 6:03 pm

I figured I was the only one who had a problem with the Visual Studio builds. They usually don't run at all under wine on linux. I remember the last time I tried, the ACC on the svn builds page at drdteam doesn't run at all, so I just cross-compiled it to windows on my computer. Needed the windows build for Doom Builder under wine. I could've instead set up a shell script ending in .exe that converted the windows style path to proper linux, and called the linux binary, but felt like doing the simplest solution, getting an actual wine-working windows acc (Though I did do that shell-script to get the linux skulltag to work with the windows IdeSE program - I might just release that as a simple package eventually).

Re: r1399 ACC compile warning

by Graf Zahl » Wed Feb 04, 2009 8:50 am

To my knowledge ACC is configured to use the DLL version of the runtime library. The issue with VC++ 2005 is that the runtime library is only installed with the compiler or some other software that happens to need it itself. Since you have the compiler you also have the DLL but on my work computer, for example, it is not present because at work I am using VC++ 2008.

Re: r1399 ACC compile warning

by Enjay » Wed Feb 04, 2009 8:03 am

Thanks. I've put your exe into a zip with the acs files and uploaded it to DRD.

BTW, I've been using VC++ 2005 and uploading ACC binaries since September (as discussed in this thread) and not had any comments about the builds being problematic. That either means people aren't downloading, aren't saying they have problems or it's working for them. I know that it's working for me but, presumably, I have the dll.

I don't particularly want to set up MiniGW. Would you prefer it if I stopped uploading my VC ACC builds?

Re: r1399 ACC compile warning

by Graf Zahl » Wed Feb 04, 2009 6:03 am

ACC is not set up for compilation with VC++ 2005.

It doesn't even have a project file for anything newer than VC++ 6.0. All newer version use this same old project but that obviously does not contain the necessary #defines to switch off the 'Microsoft is being obnoxious' messages.

You also should not upload a VC++ 2005 binary. This requires a DLL many people are unlikely to have.

The best way to compile ACC is to use MinGW anyway.

If this is just about uploading an EXE to the DRDTeam SVN archive, use the attached one which was compiled with MinGW.
Attachments
acc.7z
(24.94 KiB) Downloaded 65 times

r1399 ACC compile warning

by Enjay » Wed Feb 04, 2009 3:22 am

I assume that this is OK, but just to check...

Code: Select all

parse.c
.\parse.c(3906) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        F:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(74) : see declaration of 'strcpy'

Top