There seem to be no references to any external libraries beside a single header file:
Code: Select all
#pragma once
#include <stdint.h>
#include <stdio.h>
#include <stdarg.h>
#include <assert.h>
#include <algorithm>
#include <exception>
#include <type_traits>
#include <string>
#include <vector>
using namespace std;GCC recognizes the code as C++11 and suggests the switch -std=c++11 . When I set it, it still doesn't find the declaration for fopen_s. Other sites suggest specifying -std=c11, but GCC allows it only for C or ObjC.
What do I need to build it?
Alternatively, how else can I unpack *.XNB files from XNA Game Studio?
sys-devel/gcc versions 4.9.3 and 5.3.0.


