Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: vbcc 0.9b Release
Posted by: phx Aug,07.2011-14:08 

FYI, when building Windows binaries you have to fix a bug in vlink's dir.c:

---8<---
--- dir.c 1 Jul 2011 14:34:28 -0000 1.11
+++ dir.c 7 Aug 2011 08:51:46 -0000 1.12
@@ -1,4 +1,4 @@
-/* $VER: vlink dir.c V0.13a (23.02.11)
+/* $VER: vlink dir.c V0.14a (07.08.11)
*
* This file is part of vlink, a portable linker for multiple
* object formats.
@@ -65,7 +65,7 @@
/* append a file- or path-name to an existing path and convert */
{
size_t len = strlen(path);
-#if defined(AMIGAOS)
+#if defined(AMIGAOS) || defined(_WIN32)
char *p;
#endif

@@ -99,9 +99,9 @@
if (len>0 && buf[len-1]!='\\' && buf[len-1]!='/' && buf[len-1]!=':')
buf[len++] = '\\';
strcpy(buf+len,add);
- for (path=buf; *path *path++) {
- if (*path == '/')
- *path = '\\';
+ for (p=buf; *p; *p++) {
+ if (*p == '/')
+ *p = '\\';
}

#else
---8<---

Otherwise it won't compile under Windows. It was reported to me this morning.








[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
vbcc 0.9b Release phx Aug,06.2011-21:26
  Re: vbcc 0.9b Release sqward Aug,06.2011-22:51
    Re: vbcc 0.9b Release saulot Aug,07.2011-00:06
  Re: vbcc 0.9b Release ggn Aug,07.2011-12:04
    Re: vbcc 0.9b Release Raol Zlatt Aug,10.2011-07:52
      Re: vbcc 0.9b Release ggn Aug,16.2011-13:33
  Re: vbcc 0.9b Release ggn Aug,07.2011-12:39
    Re: vbcc 0.9b Release phx Aug,07.2011-14:08
      Re: vbcc 0.9b Release ggn Aug,07.2011-16:30
  Re: vbcc 0.9b Release Gizmo Aug,10.2011-08:49
    Re: vbcc 0.9b Release phx Aug,12.2011-18:23
  Re: vbcc 0.9b Release chemmad Oct,26.2011-23:08


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson