~/talk

Link compatibility

Talkat CppCon 2016 · 2016-09-18..09-23· [c-and-cpp]
links:none on file
slides:none on file

Library headers often hide build-time config flags that change struct layout and cause subtle memory corruption when client and library differ. The fix is to emit a buildconfig header that concatenates active options into a unique symbol, define that symbol in the library and force clients to call it so a mismatch produces a link error rather than runtime corruption. Uses pkg-config or boost.build for propagation and prefers namespace-based ABI design for long term stability.

AI-written summary · about

  1. 0:00Intro
  2. 0:20Libraries
  3. 0:36struct
  4. 2:00memory corruption
  5. 2:16buildconfig
  6. 2:53empty function
  7. 3:21instantiate
  8. 3:31binary layout
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.