Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/external/gpl3/gcc/dist/libstdc++-v3/config/locale/dragonfly



Module Name:    src
Committed By:   mrg
Date:           Sat Apr 24 21:17:40 UTC 2021

Modified Files:
        src/external/gpl3/gcc/dist/libstdc++-v3/config/locale/dragonfly:
            c_locale.cc c_locale.h

Log Message:
move the NetBSD version of:

   __convert_from_v(const __c_locale& __cloc, char* __out,
                    const int __size __attribute__ ((__unused__)),
                    const char* __fmt, ...)

from the .h file into the .cc file.

NetBSD version relies upon vasprintf_l() being defined and compile
contexts such as _XOPEN_SOURCE=600 or _POSIX_C_SOURCE < 200809 may
not provide the definition of it, cause compile time issues for
3rdparty applications in c++locale.h.  This ensure that all the
required definitions are present when this code is compiled.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
    src/external/gpl3/gcc/dist/libstdc++-v3/config/locale/dragonfly/c_locale.cc \
    src/external/gpl3/gcc/dist/libstdc++-v3/config/locale/dragonfly/c_locale.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index