C/C++ obvious struct return does not change anything?
the **<a href="https://github.com/linuxrocksrulers/m6/blob/ddf57e4fa7ac4eb40e4f6ed8e4f71f5c50015ef1/keh/src/Main.cpp#L33">line</a>** you see below looks like this:

    stuff_t stuff;
    stuff = dl.getstuff();

Where **<a href="https://github.com/linuxrocksrulers/m6/blob/ddf57e4fa7ac4eb40e4f6ed8e4f71f5c50015ef1/keh/src/include/keh.h#L128">`stuff_t`</a>** is a struct, dl is of type **<a href="https://github.com/linuxrocksrulers/m6/blob/ddf57e4fa7ac4eb40e4f6ed8e4f71f5c50015ef1/keh/src/DLib.cpp#L38">`DLib`</a>**, and the function getstuff() is used to get the stuff out of the dynamic library.

*The problem:* <br/>
I load `stuff` with `dl.stuff`, over a getter function `getstuff()`. But `dl.stuff.type='m'`, and `stuff.type='@'` suddenly ?! HECK?!

The entire source is here: https://github.com/linuxrocksrulers/m6/tree/ddf57e4fa7ac4eb40e4f6ed8e4f71f5c50015ef1
C/C++ obvious struct return does not change anything?
===

the **<a href="https://github.com/linuxrocksrulers/m6/blob/ddf57e4fa7ac4eb40e4f6ed8e4f71f5c50015ef1/keh/src/Main.cpp#L33">line</a>** you see below looks like this:

    stuff_t stuff;
    stuff = dl.getstuff();

Where **<a href="https://github.com/linuxrocksrulers/m6/blob/ddf57e4fa7ac4eb40e4f6ed8e4f71f5c50015ef1/keh/src/include/keh.h#L128">`stuff_t`</a>** is a struct, dl is of type **<a href="https://github.com/linuxrocksrulers/m6/blob/ddf57e4fa7ac4eb40e4f6ed8e4f71f5c50015ef1/keh/src/DLib.cpp#L38">`DLib`</a>**, and the function getstuff() is used to get the stuff out of the dynamic library.

*The problem:* <br/>
I load `stuff` with `dl.stuff`, over a getter function `getstuff()`. But `dl.stuff.type='m'`, and `stuff.type='@'` suddenly ?! HECK?!

The entire source is here: https://github.com/linuxrocksrulers/m6/tree/ddf57e4fa7ac4eb40e4f6ed8e4f71f5c50015ef1