Witam, pod windowsem mi sie wszystko ladnie kompiluje a po linuxem dostaje takie bledy:
c8 error: expected ':', ',', ';', '}' or 'atribute' before '*' token
c12 error: expected '=', ',', ';' or 'atribute' before 'empty_it'
#include <cstdlib>
#include <iostream>
#include <math.h>
//dzieki typedef dalej bedziemy nazywac ja: list
typedef struct lista{
float val;
lista *next;
}list;
bool empty_it(list* stos){
//PRE: stos na bazie struktury lista
//POST: true gdy lista pusta, false gdy ma elementy
if(stos==NULL) return true;
else return false;
}