Skip to content

Commit

Permalink
build: compile awlib with XCode
Browse files Browse the repository at this point in the history
Compiled all libraries with XCode 15.
A lot of code was out of date due to the fact that I never compile
on mac. Since I want to compile aw-lang on mac I need to bring
awlib up to date as well.
  • Loading branch information
Hedede committed Feb 8, 2024
1 parent 341f06c commit 4d48889
Show file tree
Hide file tree
Showing 11 changed files with 39 additions and 25 deletions.
2 changes: 2 additions & 0 deletions assert/include/aw/assert/assert_handler.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef aw_assert_handler_h
#define aw_assert_handler_h

#include <string>

#include <aw/types/string_view.h>
#include <aw/string/format.h>

Expand Down
11 changes: 5 additions & 6 deletions awlib/include/aw/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,28 +102,27 @@
#define AW_PLATFORM AW_PLATFORM_POSIX
#define AW_PLATFORM_SPECIFIC AW_PLATFORM_LINUX
#define AW_SUPPORT_PLATFORM_POSIX 1
#define AW_SUPPORT_PLATFORM_X11 1
#elif defined (__sun)
#define AW_PLATFORM AW_PLATFORM_POSIX
#define AW_PLATFORM_SPECIFIC AW_PLATFORM_SUN
#define AW_SUPPORT_PLATFORM_POSIX 1
#define AW_SUPPORT_PLATFORM_SUN 1
#define AW_SUPPORT_PLATFORM_X11 1
#elif defined(__APPLE__)
// TODO
#define AW_PLATFORM AW_PLATOFRM_POSIX
#define AW_PLATFORM_SPECIFIC AW_PLATOFRM_APPLE
#define AW_PLATFORM AW_PLATFORM_POSIX
#define AW_PLATFORM_SPECIFIC AW_PLATFORM_APPLE
#define AW_SUPPORT_PLATFORM_POSIX 1
#define AW_SUPPORT_PLATFORM_APPLE 1
#elif defined(BSD)
#define AW_PLATFORM AW_PLATFORM_POSIX
#define AW_PLATFORM_SPECIFIC AW_PLATFORM_BSD
#define AW_SUPPORT_PLATFORM_POSIX 1
#define AW_SUPPORT_PLATFORM_X11 1
#elif defined(__unix__) || defined(POSIX)
#define AW_PLATFORM AW_PLATFORM_POSIX
#define AW_PLATFORM_SPECIFIC AW_PLATFORM_POSIX
#define AW_SUPPORT_PLATFORM_POSIX 1
#endif

#if (AW_SUPPORT_PLATFORM_POSIX)
#define AW_SUPPORT_PLATFORM_X11 1
#endif

Expand Down
8 changes: 5 additions & 3 deletions graphics/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ if (WIN32)
PRIVATE
OpenGL::GL
awplatform)
endif()

if (UNIX)
elseif (APPLE)
target_link_libraries(awgraphics
PRIVATE
OpenGL::GL)
elseif (UNIX)
target_link_libraries(awgraphics
PRIVATE
OpenGL::OpenGL
Expand Down
9 changes: 5 additions & 4 deletions graphics/gl/loader.c++
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
#include <aw/graphics/gl/loader.h>

#ifdef AW_SUPPORT_PLATOFRM_APPLE
#ifdef AW_SUPPORT_PLATFORM_APPLE
#include <dlfcn.h>

namespace aw::gl::apple {
Expand All @@ -18,12 +18,13 @@ unknown_fn* get_proc_address(const char* name)
return nullptr;
}

return dlsym(image, name);
auto* symaddr = dlsym(image, name);
return reinterpret_cast<unknown_fn*>(symaddr);
}
} // namespace aw::gl::apple
#endif//AW_HAS_PLATOFRM_APPLE
#endif//AW_SUPPORT_PLATFORM_APPLE

#ifdef AW_SUPPORT_PLATOFRM_SUN
#ifdef AW_SUPPORT_PLATFORM_SUN
#include <dlfcn.h>
#include <stdio.h>

Expand Down
2 changes: 1 addition & 1 deletion graphics/include/aw/graphics/gl/api/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <aw/types/types.h>
#include <aw/config.h>

#if (AW_PLATFORM == AW_PLATFORM_APPLE)
#if (AW_PLATFORM_SPECIFIC == AW_PLATFORM_APPLE)
typedef void *GLhandleARB;
#else
typedef unsigned int GLhandleARB;
Expand Down
18 changes: 9 additions & 9 deletions graphics/include/aw/graphics/gl/loader.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
namespace aw {
namespace gl {

#if (AW_SUPPORT_PLATOFRM_APPLE)
#if (AW_SUPPORT_PLATFORM_APPLE)
namespace apple {
unknown_fn* get_proc_address(const char* name);
}
#endif//AW_SUPPORT_PLATOFRM_APPLE
#endif//AW_SUPPORT_PLATFORM_APPLE

#if (AW_SUPPORT_PLATOFRM_SUN)
#if (AW_SUPPORT_PLATFORM_SUN)
namespace sun {
unknown_fn* get_proc_address(const char* name);
}
#endif//AW_SUPPORT_PLATOFRM_SUN
#endif//AW_SUPPORT_PLATFORM_SUN

} // namespace gl

Expand All @@ -32,24 +32,24 @@ unknown_fn* get_proc_address(const char* name);
namespace wgl {
unknown_fn* get_proc_address(const char* name);
}
#endif//AW_SUPPORT_PLATOFRM_WIN32
#endif//AW_SUPPORT_PLATFORM_WIN32

// TODO: __has_include(<GL/glx.h>)
#if (AW_SUPPORT_PLATFORM_X11)
namespace glx {
unknown_fn* get_proc_address(const char* name);
}
#endif//AW_SUPPORT_PLATOFRM_X11
#endif//AW_SUPPORT_PLATFORM_X11

namespace gl {
template <typename R, typename...Args>
void get_proc(R(*& func)(Args...), char const* name)
{
#if (AW_PLATFORM_SPECIFIX == AW_PLATFORM_APPLE)
#if AW_SUPPORT_PLATFORM_APPLE
using apple::get_proc_address;
#elif (AW_PLATFORM == AW_PLATFORM_WIN32)
#elif AW_SUPPORT_PLATFORM_WIN32
using wgl::get_proc_address;
#elif (AW_PLATFORM == AW_PLATFORM_POSIX)
#elif AW_SUPPORT_PLATFORM_X11
using glx::get_proc_address;
#endif
func = reinterpret_cast<R(*)(Args...)>( get_proc_address(name) );
Expand Down
1 change: 1 addition & 0 deletions graphics/test/shaders/l_light.glsl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#version 330 core

vec4 calc_light(in vec3 normal_cam, in vec3 light_cam, in vec4 light_intensity)
{
Expand Down
5 changes: 4 additions & 1 deletion platform/posix/process.c++
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@
#include <sys/wait.h>
#include <spawn.h>
#include <unistd.h>
#include <signal.h>

//extern char** environ;
#ifdef __APPLE__
extern char** environ;
#endif

namespace aw::platform::posix {
AW_PLATFORM_EXP
Expand Down
5 changes: 5 additions & 0 deletions platform/tests/demangle.x86_64abi.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ static const char* mangled[] = {

static const char* demangled[] = {
"typeinfo for aw::test::test_failed",
#ifdef __APPLE__
"std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::append(char const*)",
"aw::format::pretty_print& aw::format::pretty_print::value<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)"
#else
"std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)",
"aw::format::pretty_print& aw::format::pretty_print::value<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)"
#endif
};

static const char mangled_verylong[] = "_Z10000xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxv";
Expand Down
1 change: 1 addition & 0 deletions utility/include/aw/utility/memory/pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <new>
#include <memory>
#include <utility>
#include <algorithm>

#include <aw/types/types.h>
namespace aw::memory {
Expand Down
2 changes: 1 addition & 1 deletion utility/include/aw/utility/ranges/value_range.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct Range {
using value_type = T;
using reference = T&;
using pointer = T*;
using iterator_category = std::input_iterator_tag;
using iterator_category = std::bidirectional_iterator_tag;

iterator(value_type v)
: value(v)
Expand Down

0 comments on commit 4d48889

Please sign in to comment.