Skip to content

Build fails in esp108_apptrace.c #9

@MrBuddyCasino

Description

@MrBuddyCasino

I just pulled and rebuilt (with clean and configure), and got this:

esp108_apptrace.c:615:37: error: cast from 'uint8_t *' (aka 'unsigned char *') to 'struct apptrace_data_hdr *' increases required alignment from 1 to 2 [-Werror,-Wcast-align] struct apptrace_data_hdr *hdr = (struct apptrace_data_hdr *)&at_cmd_ctx->trax_block_data[i]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I'm on macOS 10.12.4, gcc -v says:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 8.1.0 (clang-802.0.42) Target: x86_64-apple-darwin16.5.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions