error: ‘snprintf’ was not declared in this scope
Posted: Tue Nov 22, 2016 2:25 pm
Hoi,
I am not able to get it working ,
Includes:
Currently using the default path set by KOS but have also tried the absolute for stdio in newlib 2.0 but no difference.
Makefile
Any suggestions ?
I am not able to get it working ,
Includes:
Code: Select all
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
//#include <cstdio>
#include <kos.h>
Makefile
Code: Select all
main.elf: $(OBJS)
$(KOS_CC) $(KOS_CFLAGS) $(KOS_LDFLAGS) -o $@ $(KOS_START) $^ -lkmg -lkosutils -lstdc++ -lm $(KOS_LIBS)
Code: Select all
GCC 4.7.3