Comment 2 for bug 1841692

Revision history for this message
Andrew Johnson (anj) wrote :

Thanks, I will commit that change.

When we were developing devLib we noted that linkers see a difference between

  devLibVME *pdevLibVME = NULL;

and

  devLibVME *pdevLibVME;

The latter is better because you can link the second compiled definition with another object file that contains

  devLibVME *pdevLibVME = { ... };

whereas using the first definition the linker could object to the redefinition. Not sure if that's still the case, but it's good to be aware of the deliberate difference. The only place we have the first one is in the cygwin32 implementation, which will never talk to a real VMEbus.