Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
cb8cd417
Kaydet (Commit)
cb8cd417
authored
Kas 30, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Be explicit about missing env vars
Change-Id: I1023779749c3ce114d637a39a72bc9038324f01d
üst
ac5d4693
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
wrapper.cxx
solenv/gcc-wrappers/wrapper.cxx
+8
-0
No files found.
solenv/gcc-wrappers/wrapper.cxx
Dosyayı görüntüle @
cb8cd417
...
...
@@ -37,6 +37,10 @@ void setupccenv() {
char
*
libbuf
;
size_t
liblen
;
_dupenv_s
(
&
libbuf
,
&
liblen
,
"ILIB"
);
if
(
libbuf
==
nullptr
)
{
std
::
cerr
<<
"No environment variable ILIB"
<<
std
::
endl
;
std
::
exit
(
EXIT_FAILURE
);
}
libpath
.
append
(
libbuf
);
free
(
libbuf
);
if
(
_putenv
(
libpath
.
c_str
())
<
0
)
{
...
...
@@ -49,6 +53,10 @@ void setupccenv() {
char
*
incbuf
;
size_t
inclen
;
_dupenv_s
(
&
incbuf
,
&
inclen
,
"SOLARINC"
);
if
(
incbuf
==
nullptr
)
{
std
::
cerr
<<
"No environment variable SOLARINC"
<<
std
::
endl
;
std
::
exit
(
EXIT_FAILURE
);
}
string
inctmp
(
incbuf
);
free
(
incbuf
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment