Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Mac OS » plugin/ndisasm doesn't compile due to snprintf etc. errors
plugin/ndisasm doesn't compile due to snprintf etc. errors [message #33761] Sun, 11 September 2011 04:10 Go to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
On OSX svn r3849 plugin/ndisasm doesn't compile due to snprintf etc. errors. In my own version I had excluded ndisasm and have other changes but I wanted to test vanilla upp ide and it didnt go well.

/upp-google/trunk/uppsrc/plugin/ndisasm/lib/compiler.h:91: error: expected declaration specifiers or '...' before numeric constant


which is
#ifndef HAVE_SNPRINTF
# ifdef HAVE__SNPRINTF
#  define snprintf _snprintf
# else
int snprintf(char *, size_t, const char *, ...);
# endif
#endif


I remember I spend a lot of time trying to fix this and related ndisasm things but can't remember how and how far I went... but then lost patience and excluded it altogether.
Does anyone have or had ndisasm working on OSX11 or *BSDs?
 
Read Message
Read Message
Read Message
Previous Topic: Upp Core compiles natively on Xcode (download Core.xcodeproj)
Next Topic: Solution howto enable upp Multithreading with TLS on MacOSX.
Goto Forum:
  


Current Time: Sun Apr 28 10:51:43 CEST 2024

Total time taken to generate the page: 0.01988 seconds