Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax error before ‘curl_usessl’ #10

Open
ryandesign opened this issue Mar 12, 2013 · 3 comments
Open

syntax error before ‘curl_usessl’ #10

ryandesign opened this issue Mar 12, 2013 · 3 comments

Comments

@ryandesign
Copy link

curlhandle 3.1.1 fails to compile in MacPorts on OS X 10.5 Leopard with Xcode 3.1.4:

CompileC build/CURLHandle.build/Release/CURLHandle.build/Objects-normal/i386/CURLHandle.o /opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLHandle.m normal i386 objective-c com.apple.compilers.gcc.4_0
    cd /opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource
    /Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Wreturn-type -Wunused-variable -mmacosx-version-min=10.5 -gdwarf-2 -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/CURLHandle.build/Release/CURLHandle.build/CURLHandle.hmap -F/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/Release -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/Release/include -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/CURLHandle.build/Release/CURLHandle.build/DerivedSources/i386 -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/CURLHandle.build/Release/CURLHandle.build/DerivedSources -include /var/folders/ms/msB4wNMxEB8E7e2Yj0VJV++++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/CURLHandle_Prefix-egfgmlvyombgwneoyvyvctoaetux/CURLHandle_Prefix.pch -c /opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLHandle.m -o /opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/build/CURLHandle.build/Release/CURLHandle.build/Objects-normal/i386/CURLHandle.o
In file included from /opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLHandle.m:8:
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLHandle.h:94: error: syntax error before ‘curl_usessl’
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLHandle.h:110: error: syntax error before ‘curl_usessl’
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_curlhandle/curlhandle/work/CurlHandle-3.1.1/CURLHandleSource/CURLHandle.h:111: fatal error: method definition not in @implementation context
compilation terminated.
{standard input}:32:FATAL:.abort  detected.  Assembly stopping.
@mikeabdullah
Copy link
Collaborator

To be honest, we don't care about 10.5 very much. If you want to find a fix and submit a pull request though, by all means please do :-)

@ryandesign
Copy link
Author

Ok, I'll see what I can find out. Note that your DevNotes.txt file says you support 10.2 and up.

@mikeabdullah
Copy link
Collaborator

Fair point. Just updating the file now. It's a holdover from ye olden days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants