r1399 ACC compile warning

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

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 Reply
User avatar
Enjay
 
 
Posts: 26976
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

r1399 ACC compile warning

Post by Enjay »

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'
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49225
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: r1399 ACC compile warning

Post by Graf Zahl »

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
User avatar
Enjay
 
 
Posts: 26976
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: r1399 ACC compile warning

Post by Enjay »

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?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49225
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: r1399 ACC compile warning

Post by Graf Zahl »

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.
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Re: r1399 ACC compile warning

Post by Macil »

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).
Post Reply

Return to “Closed Bugs [GZDoom]”