]> source.dussan.org Git - tigervnc.git/commit
MinGW tweak: Constructs such as:
authorPeter Åstrand <astrand@cendio.se>
Tue, 9 Dec 2008 14:57:53 +0000 (14:57 +0000)
committerPeter Åstrand <astrand@cendio.se>
Tue, 9 Dec 2008 14:57:53 +0000 (14:57 +0000)
commitb22dbef3c3c4ec299ca5eb7a3f0ad4c59f326ce3
tree0f303143981b75861cfcd3a1d0114dc51da8b287
parentb49cd1baaa6423c8d1c6d72edd4d083baa8624c7
MinGW tweak: Constructs such as:

CharArray somevariable = "somestring"

...are not allowed. It seems like MSVC does not correctly check
accessibility for temporaries. Chapter 12.2 of ISO/IEC 14882:2003(E):

>  Even when the creation of the temporary object is avoided (12.8),
>  all the semantic restrictions must be respected as if the temporary
>  object was created. [Example: even if the copy constructor is not
>  called, all the semantic restrictions, such as accessibility
>  (clause 11), shall be satisfied. ]

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3344 3789f03b-4d11-0410-bbf8-ca57d06f2519
win/rfb_win32/MsgBox.h
win/rfb_win32/RegConfig.cxx
win/rfb_win32/Registry.cxx
win/rfb_win32/SDisplay.cxx
win/rfb_win32/Service.cxx
win/rfb_win32/Win32Util.cxx
win/vncviewer/CConnOptions.cxx
win/vncviewer/CConnThread.cxx
win/vncviewer/MRU.h