Quantcast
Channel: MPLAB XC16
Viewing all articles
Browse latest Browse all 1508

Global struct (fraengers)

$
0
0
I want to have a global struct that I can access from anywhere. But it is not working out of the box. I get a 'multiple definition' error. Is there a compiler switch I have to use to make it work? Example: global.h:
#ifndef global_h
#define glob..

Viewing all articles
Browse latest Browse all 1508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>