Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucy Wiki" for change 
notification.

The "LucyBookClub" page has been changed by LoganBell:
http://wiki.apache.org/lucy/LucyBookClub?action=diff&rev1=43&rev2=44

  
  Review questions:
  
- Will be available on April 1st.
+ Questions:
+ 
+ 1. When compiling code that is going to be used as a DSO, why is it important 
to use the -fpic/-fPIC flags?
+ 
+ 2. On page 16, right hand column, there are two code samples. What is 
different about them? And why is the second one significant?
+ 
+ 3. What is the easiest way to not export a variable or function?
+ 
+ 4. Why did the author add "static" to last and next in the first code sample 
on page 18, left hand column?
+ 
+ 5. Since C doesn't provide a way to define visibility of a function or 
variable, how does GCC allow the programmer to indicate visibility within the 
code?
+ 
+ 6. What does #pragma GCC visibility push(hidden) and #pragma GCC visibility 
pop do?
+ 
+ 7. If -fvisibility=hidden is used, how would I enable a symbol to have 
default visibility?
  
  == Community Notes ==
  

Reply via email to