Ticket #5892: haiku-clang-build-fixes-updated-2.patch

File haiku-clang-build-fixes-updated-2.patch, 2.6 KB (added by kaliber, 14 years ago)

Updated patch with the applied stuff and math.h changes removed.

  • src/preferences/cpufrequency/PreferencesWindow.h

     
    362362template<typename Preferences>
    363363PreferencesWindow<Preferences>::~PreferencesWindow()
    364364{
    365     SetWindowPosition(Frame().LeftTop());
     365    PreferencesStorage<Preferences>::SetWindowPosition(Frame().LeftTop());
    366366}
    367367
    368368
  • src/libs/print/libprint/PackBits.cpp

     
    1414#include "PackBits.h"
    1515
    1616#if (!__MWERKS__ || defined(MSIPL_USING_NAMESPACE))
     17#include <iostream>
    1718using namespace std;
    1819#else
    1920#define std
  • headers/posix/fenv.h

     
    11#ifndef _FENV_H
    22#define _FENV_H
    33
    4 #if defined(_X86_)
     4#if defined(__INTEL__)
    55#  include <arch/x86/fenv.h>
    66#elif defined(__ARM__)
    77#  include <arch/arm/fenv.h>
  • headers/private/kernel/util/MultiHashTable.h

     
    143143                previous = HashTable::_Link(previous));
    144144
    145145        if (previous) {
    146             _Link(value) = _Link(previous);
    147             _Link(previous) = value;
     146            HashTable::_Link(value) = HashTable::_Link(previous);
     147            HashTable::_Link(previous) = value;
    148148        } else {
    149             _Link(value) = table[index];
     149            HashTable::_Link(value) = table[index];
    150150            table[index] = value;
    151151        }
    152152    }
     
    165165            for (size_t i = 0; i < HashTable::fTableSize; i++) {
    166166                ValueType *bucket = HashTable::fTable[i];
    167167                while (bucket) {
    168                     ValueType *next = _Link(bucket);
     168                    ValueType *next = HashTable::_Link(bucket);
    169169                    _Insert(newTable, newSize, bucket);
    170170                    bucket = next;
    171171                }
  • headers/private/shared/HashMap.h

     
    458458
    459459// _FindElement
    460460template<typename Key, typename Value>
    461 struct HashMap<Key, Value>::Element *
     461typename HashMap<Key, Value>::Element *
    462462HashMap<Key, Value>::_FindElement(const Key& key) const
    463463{
    464464    Element* element = fTable.FindFirst(key.GetHashCode());