VirtualBox

Ignore:
Timestamp:
Feb 18, 2009 11:54:53 AM (16 years ago)
Author:
vboxsync
Message:

OpenGL/list.c: Fix for crossbuilding 10.4/x86 on darwin/amd64/10.6. Apparently they're using gcc builtin assert which will invoke eprintf. This has been obsoleted in later gccs. The problem now is that eprint.o have both stabs and dwarf debug info which upsets the classic linker we're using when targetting 10.4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/list.c

    r15532 r16893  
    11#include "cr_list.h"
     2#ifndef VBOX
    23#include <assert.h>
     4#else  /* VBOX */
     5  /* assert.h causes trouble on darwin (eprintf.o + classic linker). */
     6# include <iprt/assert.h>
     7# define assert(expr) Assert(expr)
     8#endif /* VBOX */
    39#include <stdio.h>
    410#include <stdlib.h>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette